SMILE
v2.5
Schwarzschild Modelling Interactive expLoratory Environment
|
Data-only class containing 3 coordinates and 3 velocities. More...
#include <common.h>
Public Member Functions | |
CPosVelPoint () | |
default constructor | |
CPosVelPoint (const NumT Pos0, const NumT Pos1, const NumT Pos2, const NumT Vel0, const NumT Vel1, const NumT Vel2) | |
construct from six float/double numbers | |
CPosVelPoint (const CPosVelPoint< double > &src) | |
copy constructor from CPosVelPoint<double> | |
CPosVelPoint (const CPosVelPoint< float > &src) | |
copy constructor from CPosVelPoint<float> | |
Public Attributes | |
NumT | Pos [N_DIM] |
NumT | Vel [N_DIM] |
Data-only class containing 3 coordinates and 3 velocities.
NumT | is a numerical type (double or float). Copy constructor provided for both instantiations so that each one may be seamlessly converted to another one by (implicit) type cast. |