18 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
23 Masspoint(
double mass,
double d) : mass_(mass), d_(d) {}
46 derivative(1) = -d_ / mass_ * x(1);
Masspoint * clone() const override
deep copy
Definition: Masspoint.h:32
Masspoint(const Masspoint &other)
Definition: Masspoint.h:26
Definition: Masspoint.h:15
Masspoint(double mass, double d)
Definition: Masspoint.h:23
Interface class for a general system described by an ordinary differential equation (ODE) ...
Definition: System.h:38
void computeDynamics(const ct::core::StateVector< STATE_DIM > &x, const ct::core::Time &t, ct::core::StateVector< STATE_DIM > &derivative) override
Definition: Masspoint.h:38
static EIGEN_MAKE_ALIGNED_OPERATOR_NEW const size_t STATE_DIM
Definition: Masspoint.h:20
double Time
Definition: Time.h:11