#include <state.hpp>
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 |