Struct SundialsImplicitIntegrator::IntegratorOptions#

Nested Relationships#

This struct is a nested type of Class SundialsImplicitIntegrator.

Inheritance Relationships#

Base Type#

Struct Documentation#

struct IntegratorOptions : public Karana::Integrators::SundialsIntegrator::IntegratorOptions

Struct with options for this integrator

Public Members

double anderson_damping = 1

Anderson damping in (0, 1] used for implicit integrators with fixed-point solves.

This is used to potentially speed up internal iterations by reusing past iterates (within the same time step). A value of 1 indicates no damping, and smaller values imply a “stronger” damping.

int anderson_length = 0

Number of past iterates to consider with Anderson acceleration.

unsigned int max_nl_iters = 3

Maximum number of nonlinear iterations before we try a smaller step size.

bool use_jacobian = false

set to true to have the integrator use Jacobians (experimental)