Class SundialsImplicitIntegratorVars#

Inheritance Relationships#

Base Type#

Derived Types#

Class Documentation#

class SundialsImplicitIntegratorVars : public Karana::Integrators::SundialsIntegratorVars#

The Vars for the SundialsImplicitIntegrator class.

Subclassed by Karana::Integrators::ArkImplicitIntegratorVars, Karana::Integrators::CVodeIntegratorVars

Public Functions

SundialsImplicitIntegratorVars(const kc::ks_ptr<const SundialsImplicitIntegrator> &integ)#

SundialsImplicitIntegratorVars constructor. The constructor is not meant to be called directly. Please use the create(…) method instead to create an instance.

Parameters:

integ – The integrator associated with this SundialsImplicitIntegratorVars.

virtual ~SundialsImplicitIntegratorVars() = default#

Destructor.

virtual kc::NestedVars getAllVars() const override#

Get all the Vars that this VarHolder has.

Returns:

A map of Vars, where the Var name is the key and the Var is the value.

Public Members

kc::ks_ptr<Karana::Core::Var_T<long int>> num_nonlin_iters#

Number of nonlinear iterations.

kc::ks_ptr<Karana::Core::Var_T<long int>> num_lin_iters#

Number of linear iterations.

kc::ks_ptr<Karana::Core::Var_T<long int>> num_jac_evals#

Number of calls made to the CVLS Jacobian approximation function.

kc::ks_ptr<Karana::Core::Var_T<long int>> num_lin_rhs_evals#

Number of RHS/derivative calls used to estimate jacobians.

kc::ks_ptr<Karana::Core::Var_T<long int>> num_step_solve_fails#

Number of rejected timesteps due to nonlinear solve failure.

Public Static Functions

static kc::ks_ptr<SundialsImplicitIntegratorVars> create(const kc::ks_ptr<const SundialsImplicitIntegrator> &body)#

Create an instance of the SundialsImplicitIntegratorVars.

Parameters:

body – The body associated with this SundialsImplicitIntegratorVars.

Returns:

A pointer to the newly created instance of SundialsImplicitIntegratorVars.