Class StatePropagator::SpOptions#

Nested Relationships#

This class is a nested type of Class StatePropagator.

Inheritance Relationships#

Base Type#

Class Documentation#

class SpOptions : public Karana::Dynamics::ModelManager::MMOptions

Options for the state propagator.

Public Functions

SpOptions()

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

Public Members

km::Ktime max_step_size = km::Ktime(0)

Define the step size that advanceTo() should use to break up the overall time advancement into sub-steps. This is especially useful for fixed-step integrators to ensure that integrator steps are not too large. Also for cases where external interactions and data logging needs to be done at fixed step intervals.

bool update_state_derivatives_hop_end = false

If true, then update the multibody state derivatives with the integrator states at the end of each hop.

Public Static Functions

static kc::ks_ptr<SpOptions> create()

Create an instance of SpOptions.

Returns:

A pointer to the newly created SpOptions.