SIM_SolverGetLastMajorOutput (ESI Function)
- Updated2023-03-14
- 1 minute(s) read
SIM_SolverGetLastMajorOutput (ESI Function)
Owning Class: Solver API
Requires: Control Design and Simulation Module
Prototype
double* SIM_SolverGetLastMajorOutput(SIM_Solver *solver);
Description
Returns a pointer to the value of the states at the previous accepted 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 pointer to the value of the states at the previous accepted major step.
Examples
double* lmo = SIM_SolverGetLastMajorOutput(solver);