SIM_SolverGetMaximumStepSize (ESI Function)
- Updated2023-03-14
- 1 minute(s) read
SIM_SolverGetMaximumStepSize (ESI Function)
Owning Class: Solver API
Requires: Control Design and Simulation Module
Prototype
double SIM_SolverGetMaximumStepSize(SIM_Solver *solver);
Description
Returns the maximum allowable step size for the ODE solver. You can set the maximum step size on the Simulation Parameters page of the Configure Simulation Parameters dialog box.
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 maximum allowable step size for the ODE solver.
Examples
double maxStepSize = SIM_SolverGetMaximumStepSize(solver);