SMILE  v2.5
Schwarzschild Modelling Interactive expLoratory Environment
Public Member Functions | Private Attributes | List of all members
smile::CICGeneratorVelocityEddington Class Reference

sample velocities from the Eddington distribution function for equivalent spherical system More...

#include <icgenerator.h>

Inheritance diagram for smile::CICGeneratorVelocityEddington:
Inheritance graph
[legend]
Collaboration diagram for smile::CICGeneratorVelocityEddington:
Collaboration graph
[legend]

Public Member Functions

 CICGeneratorVelocityEddington (const CPotential *_potential, const CDensity *_density=NULL, double _weightSkewFactorL=0)
 construct the instance of spherical mass model for a given density model in an external potential; if the density and potential are the same, only the latter is provided
 
virtual void createInitialConditions (size_t numPoints, CPointMassSet< float > *points)
 Create a desired number of points and add them to the point mass set. More...
 

Private Attributes

const CPotentialpotential
 total potential of the system
 
const CDensitydensity
 density of the component considered, or NULL if entire potential is used
 
double weightSkewFactorL
 biasing factor for increasing the sampling frequency of low angular momentum orbits
 

Additional Inherited Members

- Public Types inherited from smile::CBasicICGenerator
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...
 

Detailed Description

sample velocities from the Eddington distribution function for equivalent spherical system

Member Function Documentation

void smile::CICGeneratorVelocityEddington::createInitialConditions ( size_t  numPoints,
CPointMassSet< float > *  points 
)
virtual

Create a desired number of points and add them to the point mass set.

Parameters
[in]numPointsis the requested number of points; the actual output may slightly differ
[in,out]pointsis 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.

Implements smile::CBasicICGenerator.


The documentation for this class was generated from the following files: