23template <
typename _Scalar>
43 const xyz::polymorphic<ContinuousDynamics> &cont_dynamics);
49template <
typename _Scalar>
53 using VectorXs =
typename math_types<Scalar>::VectorXs;
77#ifdef ALIGATOR_ENABLE_TEMPLATE_INSTANTIATION
78#include "aligator/modelling/dynamics/integrator-abstract.txx"
Base definitions for continuous dynamics.
MatrixRef Jx_
Jacobian with respect to .
MatrixRef Jy_
Jacobian with respect to .
VectorXs value_
Function value.
MatrixRef Ju_
Jacobian with respect to .
Dynamics model: describes system dynamics through an implicit relation .
Continuous dynamics described by differential-algebraic equations (DAEs) .
Base class for (implicit) numerical integrators.
xyz::polymorphic< ContinuousDynamics > continuous_dynamics_
The underlying continuous dynamics.
const U * getDynamics() const
shared_ptr< BaseData > createData() const
virtual ~IntegratorAbstractTpl()=default
IntegratorAbstractTpl(const xyz::polymorphic< ContinuousDynamics > &cont_dynamics)
Constructor from instances of DynamicsType.
Data class for numerical integrators (IntegratorAbstractTpl).
typename math_types< Scalar >::VectorXs VectorXs
shared_ptr< ContinuousDynamicsDataTpl< Scalar > > continuous_data
VectorXs xdot_
Value of the time-derivative to use in the integration rule.
IntegratorDataTpl(const IntegratorAbstractTpl< Scalar > &integrator)
virtual ~IntegratorDataTpl()=default