SIM_SolverGetIsMajorStep (ESI Function)
- Updated2023-03-14
- 1 minute(s) read
SIM_SolverGetIsMajorStep (ESI Function)
Owning Class: Solver API
Requires: Control Design and Simulation Module
Prototype
long SIM_SolverGetIsMajorStep(SIM_Solver *solver);
Description
Indicates whether the current step is a major step.
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 a non-zero value if the current step is a major step.
Examples
long isMajorStep = SIM_SolverGetIsMajorStep(solver);