Class NoopIntegrator#
Defined in File Integrator.h
Inheritance Relationships#
Base Type#
public Karana::Math::Integrator(Class Integrator)
Class Documentation#
-
class NoopIntegrator : public Karana::Math::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 Ktime advanceTo(const 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
-
virtual std::string_view typeString() const override#
Return the integrator type as a string.
- Returns:
the integrator type
-
virtual std::unique_ptr<IntegratorOptions> getOptions() override#
Get the options associated with the integrator.
- Returns:
The options associated with the integrator.
-
virtual IntegratorType getIntegratorType() const override#
Get the IntegratorType for this integrator.
- Returns:
The IntegratorType for this integrator.
-
NoopIntegrator(size_t nstates, DerivativeFunction f, const IntegratorOptions *options = nullptr)#