SMILE
v2.5
Schwarzschild Modelling Interactive expLoratory Environment
|
Base class for creating initial conditions for orbit library. More...
#include <icgenerator.h>
Public Types | |
enum | ICTYPE { IC_E_STATIONARY, IC_E_PRINCIPALPLANE, IC_E_YALPHA, IC_E_RANDOM, IC_DENS_SAMPLER, IC_DENS_ELLIPSOIDAL, IC_VEL_EDDINGTON, IC_VEL_JEANSSPH, IC_VEL_JEANSAXI } |
list all possible types of descendant classes More... | |
Public Member Functions | |
virtual void | createInitialConditions (size_t numPoints, CPointMassSet< float > *points)=0 |
Create a desired number of points and add them to the point mass set. More... | |
Base class for creating initial conditions for orbit library.
The output consists of starting points and optionally the priors on orbit weights (if used for Schwarzschild modelling) stored in a point mass set.
|
pure virtual |
Create a desired number of points and add them to the point mass set.
[in] | numPoints | is the requested number of points; the actual output may slightly differ |
[in,out] | points | is the pointer to the array that will contain the points. For the IC velocity generators, this array should already contain positions of particles, and only the velocities will be initialized. |
Implemented in smile::CICGeneratorSchw, smile::CICGeneratorVelocityJeansAxi, smile::CICGeneratorVelocityJeansSph, smile::CICGeneratorVelocityEddington, smile::CICGeneratorDensityEllipsoidal, smile::CICGeneratorDensitySampler, smile::CICGeneratorDensitySpherical, smile::CICGeneratorRandomE, smile::CICGeneratorYalpha, smile::CICGeneratorPrincipalPlane, and smile::CICGeneratorStationary.