SMILE
v2.5
Schwarzschild Modelling Interactive expLoratory Environment
|
Class for dealing with spherical isotropic mass models. More...
#include <vector>
#include <gsl/gsl_spline.h>
Classes | |
class | smile::CMassModel |
class defining a spherical mass model. More... | |
Namespaces | |
smile | |
common namespace for all core SMILE classes, functions and variables | |
Functions | |
template<typename NumT > | |
bool | smile::fitMassModel (const std::vector< NumT > &particlecoord,const std::vector< NumT > &particlevalue,std::vector< double > *gridcoord,std::vector< double > *gridvalue,double smoothing=0,size_t gridsize=0,size_t nskip=0,CMassModel::FITTYPE ftype=CMassModel::FT_MASS,const CMassModel *model=NULL) |
Function that computes the input data for a spherical mass model from a given array of particles. More... | |
Class for dealing with spherical isotropic mass models.
This file defines the class CMassModel that is used throughout SMILE to handle spherical isotropic potential-density-distribution function models.