Class IntegratorParams¶
Defined in File integrator.h
Class Documentation¶
-
class IntegratorParams¶
Tolerances, iteration limits, and optional early-termination predicate shared by all
Integratorsubclasses.Configured by dynamics models via
Integrator::SetParams(e.g.NumericalOrbitDynamics::SetIntegratorParams) to control adaptive step-size integrators (IRKF/RKF45,PD45) and to allow a propagation to stop early when a user-defined condition on the state is met.Public Functions
-
IntegratorParams() = default¶
-
inline IntegratorParams(int max_iter, double abstol, double reltol)¶
-
inline IntegratorParams(int max_iterm, double abstol, double reltol, std::function<bool(Real, const VecX&)> terminate_if)¶
-
void CheckIntegratorParams()¶
Validate that
max_iter,abstol, andreltolare positive.Called by every
IntegratorParamsconstructor; throws (viaLUPNT_CHECK) if the parameters are invalid.
-
IntegratorParams() = default¶