Restart (ESI Function)
- Updated2023-03-14
- 1 minute(s) read
Restart (ESI Function)
Owning Class: Callback API
Requires: Control Design and Simulation Module
Prototype
SIM_Error Restart(SIM_Solver *solver);
Description
Restarts the ODE solver immediately after a discontinuity occurs in a continuous signal. Use this function for multi-step solvers that require an update to stored information after a discontinuity.
Inputs
| Name | Description |
|---|---|
| solver | Specifies a reference to the external ODE solver. Use this reference as an input to other ESI functions. Do not modify solver directly. |
Return Value
Returns the error condition for this function.