Struct IdaIntegrator::IntegratorOptions#
Defined in File Integrator.h
Nested Relationships#
This struct is a nested type of Class IdaIntegrator.
Inheritance Relationships#
Base Type#
public Karana::Integrators::Integrator::IntegratorOptions(Struct Integrator::IntegratorOptions)
Struct Documentation#
-
struct IntegratorOptions : public Karana::Integrators::Integrator::IntegratorOptions
Struct with options for this integrator
Public Members
-
double rtol = 1e-4
The desired relative tolerance used to control the integrator error.
-
double atol = 1e-8
The desired absolute tolerance used to control the integrator error.
-
km::Vec atol_vec
The desired absolute tolerance vector used to control the integrator error. This can be used rather than a scalar tolerance to set different values for different states.
-
long max_num_steps = 1e6
The maximum number of steps the solver can take before throwing a too much work error.
-
bool suppress_algebraric = false
Whether to suppress the local error test for algebraic variables. Recommended to enable for index 2/3 DAEs, but not for index 1 DAEs.
-
unsigned int anderson_accel = 0
Anderson acceleration used with the FixedPoint solver.
-
NLSOLVER nlsolver = NLSOLVER::FIXEDPOINT
The Nonlinear solver type to use.
-
double rtol = 1e-4