|
Fast Methods for Cosmological Simulations
FastSim serves as a tool for quick N-body simulations in modified gravity.
|
class handling particles (position only) More...
#include <class_particles.hpp>


Public Member Functions | |
| Particle_v () | |
| template<typename U , typename V > | |
| Particle_v (Vec_3D< U > position, Vec_3D< V > velocity) | |
| T & | operator() (unsigned int i) |
| const T & | operator() (unsigned int i) const |
Public Member Functions inherited from Particle_x< T > | |
| Particle_x () | |
| template<typename U > | |
| Particle_x (Vec_3D< U > position) | |
| T & | operator[] (unsigned int i) |
| get position coordinates More... | |
| const T & | operator[] (unsigned int i) const |
Public Attributes | |
| Vec_3D< T > | velocity |
Public Attributes inherited from Particle_x< T > | |
| Vec_3D< T > | position |
class handling particles (position only)
| T | coordinate type (float, double or long double) |
operator [] to get position coordinates operator () to get velocity coordinates
Definition at line 55 of file class_particles.hpp.
|
inline |
Definition at line 59 of file class_particles.hpp.
|
inline |
Definition at line 61 of file class_particles.hpp.
|
inline |
Definition at line 68 of file class_particles.hpp.
|
inline |
Definition at line 69 of file class_particles.hpp.
| Vec_3D<T> Particle_v< T >::velocity |
Definition at line 62 of file class_particles.hpp.