SIM_SolverGetDerivatives (ESI Function)
- Updated2023-03-14
- 1 minute(s) read
SIM_SolverGetDerivatives (ESI Function)
Owning Class: Solver API
Requires: Control Design and Simulation Module
Prototype
double* SIM_SolverGetDerivatives(SIM_Solver *solver);
Description
Returns a pointer to the derivatives of the states of the ODE solver.
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 derivatives of the states of the ODE solver.
Examples
double* derivs = SIM_SolverGetDerivatives(solver);