ani::spacetime::State Class Reference

#include <state.hpp>

Collaboration diagram for ani::spacetime::State:

Collaboration graph
[legend]

List of all members.

Public Member Functions

TVector & coors ()
 setter for coordinates
const TVector & coors () const
 getter for coordinates
TVector & momentum ()
 setter for momentum
const TVector & momentum () const
 getter for momentum
template<typename Derived>
 State (const Eigen::MatrixBase< Derived > &coor, const Eigen::MatrixBase< Derived > &mom, const double &time)
 creates all state variables from existing Eigen objects
 State (const unsigned int &dimension)
 default constructor: creates all elements as zero vectors
 State (const State &s)
 copy constructor
double & time ()
 setter for time
const double & time () const
 getter for time

Protected Attributes

TVector m_coors
 contains the generalized coordinates
TVector m_momentum
 contains the generalized momentum
double m_time
 contains the time


Detailed Description

Stores the state space of a point at a certain time.
The documentation for this class was generated from the following file:

Generated on Wed Nov 17 17:35:52 2010 for 'ani' Module Programming Interface by  doxygen 1.5.6