Class StatePropagatorVars#

Inheritance Relationships#

Base Type#

Class Documentation#

class StatePropagatorVars : public Karana::Dynamics::ModelManagerVars#

The Vars for the StatePropagator class.

Public Functions

StatePropagatorVars(const kc::ks_ptr<const StatePropagator> &sp)#

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

Parameters:

sp – The state propagator associated with this StatePropagatorVars.

~StatePropagatorVars()#

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<std::string>> integrator_type#

integrator type

kc::ks_ptr<Karana::Core::Var_T<int>> counter_derivs#

number of derivative calls

kc::ks_ptr<Karana::Core::Var_T<int>> counter_hops#

number of hops

kc::ks_ptr<Karana::Core::Var_T<int>> counter_zero_crossings#

number of zero crossings

kc::ks_ptr<Karana::Core::Var_T<int>> counter_steps#

number of integration steps

kc::ks_ptr<Karana::Core::Var_T<double>> advance_to_time#

the advance to time

Public Static Functions

static kc::ks_ptr<StatePropagatorVars> create(const kc::ks_ptr<const StatePropagator> &sp)#

Create an instance of the StatePropagatorVars.

Parameters:

sp – The state propagator associated with this StatePropagatorVars.

Returns:

A pointer to the newly created instance of StatePropagatorVars.