Class CVodeIntegratorVars#

Inheritance Relationships#

Base Type#

Class Documentation#

class CVodeIntegratorVars : public Karana::Integrators::SundialsImplicitIntegratorVars#

The Vars for the CVodeIntegrator class.

Public Functions

CVodeIntegratorVars(const kc::ks_ptr<const CVodeIntegrator> &integ)#

CVodeIntegratorVars 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 CVodeIntegratorVars.

~CVodeIntegratorVars() = 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<int>> last_order#

Integration method order used during last step.

Public Static Functions

static kc::ks_ptr<CVodeIntegratorVars> create(const kc::ks_ptr<const CVodeIntegrator> &integ)#

Create an instance of the CVodeIntegratorVars.

Parameters:

integ – The CVode integrator associated with this CVodeIntegratorVars.

Returns:

A pointer to the newly created instance of CVodeIntegratorVars.