SIM_SolverSetIsMajorStep (ESI Function)
- Updated2023-03-14
- 1 minute(s) read
SIM_SolverSetIsMajorStep (ESI Function)
Owning Class: Solver API
Requires: Control Design and Simulation Module
Prototype
void SIM_SolverSetIsMajorStep(SIM_Solver *solver, long isMajorStep);
Description
Specifies whether the current step is a major step. Call this function within the UpdateStates function.
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. |
| isMajorStep | Specifies, when zero, that the current step is not a major step. Otherwise, isMajorStep specifies that the current step is a major step. |
Examples
SIM_SolverSetIsMajorStep(solver, 0);