LabVIEW Control Design and Simulation Module

SIM_SolverGetRelativeTolerance (ESI Function)

  • Updated2023-03-14
  • 1 minute(s) read

SIM_SolverGetRelativeTolerance (ESI Function)

Owning Class: Solver API

Requires: Control Design and Simulation Module

Prototype

double SIM_SolverGetRelativeTolerance(SIM_Solver *solver);

Description

Returns the relative tolerance for the ordinary differential equation (ODE) solver. You can set the relative tolerance in the Configure Simulation Parameters dialog box.

Examples

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 relative tolerance for the ordinary differential equation (ODE) solver.

Examples

double relTol = SIM_SolverGetRelativeTolerance(solver);

Related Topics

EvaluateError
SIM_SolverGetAbsoluteTolerance

Log in to get a better experience