Class NoopIntegrator#

Inheritance Relationships#

Base Type#

Class Documentation#

class NoopIntegrator : public Karana::Integrators::Integrator#

The no-op integrator. Useful for kinematics mode simulations.

Public Functions

NoopIntegrator(size_t nstates, DerivativeFunction f, const IntegratorOptions *options = nullptr)#

Constructor.

Parameters:
  • nstates – The number of states to integrate.

  • f – The derivative function to calculate the derivative of the states.

  • options – The integrator options.

virtual km::Ktime advanceTo(const km::Ktime &t_end) override#

Method to advance the system state to a specified time.

Parameters:

to_t – the desired end time

Returns:

the actual end time