Documentation


animal::States< Poss, Vels > Struct Template Reference

#include <integrator.h>

List of all members.


Detailed Description

template<class Poss, class Vels>
struct animal::States< Poss, Vels >

States: position, velocity.

Definition at line 237 of file integrator.h.

Public Member Functions

 States (Poss &pos, Vels &vel)
 position and velocity are stored exernally

void resize (int s)
 resize


Public Attributes

Poss & positions
 the position

Vels & velocities
 the velocities


Constructor & Destructor Documentation

template<class Poss, class Vels>
animal::States< Poss, Vels >::States Poss &  pos,
Vels &  vel
[inline]
 

position and velocity are stored exernally

Definition at line 242 of file integrator.h.


Member Function Documentation

template<class Poss, class Vels>
void animal::States< Poss, Vels >::resize int  s  )  [inline]
 

resize

Definition at line 248 of file integrator.h.

Referenced by animal::ExplicitIntegrator2< Position, Velocity, ComputeAcceleration, Real, Acceleration >::modmid(), animal::ExplicitIntegrator2< Position, Velocity, ComputeAcceleration, Real, Acceleration >::rk2(), and animal::ExplicitIntegrator2< Position, Velocity, ComputeAcceleration, Real, Acceleration >::rk4().


Member Data Documentation

template<class Poss, class Vels>
Poss& animal::States< Poss, Vels >::positions
 

the position

Definition at line 238 of file integrator.h.

Referenced by animal::ExplicitIntegrator2< Position, Velocity, ComputeAcceleration, Real, Acceleration >::Derivator::operator()(), animal::v_eq(), animal::v_eq_ab(), and animal::v_peq().

template<class Poss, class Vels>
Vels& animal::States< Poss, Vels >::velocities
 

the velocities

Definition at line 239 of file integrator.h.

Referenced by animal::ExplicitIntegrator2< Position, Velocity, ComputeAcceleration, Real, Acceleration >::Derivator::operator()(), animal::v_eq(), animal::v_eq_ab(), and animal::v_peq().


The documentation for this struct was generated from the following file:
Generated on Thu Dec 23 13:52:30 2004 by doxygen 1.3.6