AnimaL |
Tutorial |
Documentation |
Definition at line 332 of file integrator.h.
Public Member Functions | |
Derivator (ComputeAcceleration &compAcc) | |
The functor which computes the acceleration is stored externally. | |
template<class P, class V, class A> void | operator() (Derivs< V, A > &deriv, const States< P, V > &state, Real) |
Compute a Derivative given a State and a time. | |
Public Attributes | |
ComputeAcceleration & | computeAcceleration |
external functor which computes the acceleration given position and velocity |
|
The functor which computes the acceleration is stored externally.
Definition at line 337 of file integrator.h. |
|
Compute a Derivative given a State and a time.
Definition at line 343 of file integrator.h. References animal::Derivs< Vels, Accs >::accelerations, animal::ExplicitIntegrator2< Position, Velocity, ComputeAcceleration, Real, Acceleration >::Derivator::computeAcceleration, animal::States< Poss, Vels >::positions, animal::v_eq(), animal::Derivs< Vels, Accs >::velocities, and animal::States< Poss, Vels >::velocities. |
|
external functor which computes the acceleration given position and velocity
Definition at line 334 of file integrator.h. Referenced by animal::ExplicitIntegrator2< Position, Velocity, ComputeAcceleration, Real, Acceleration >::Derivator::Derivator(), and animal::ExplicitIntegrator2< Position, Velocity, ComputeAcceleration, Real, Acceleration >::Derivator::operator()(). |