SMILE  v2.5
Schwarzschild Modelling Interactive expLoratory Environment
Classes | Namespaces | Functions
massmodel.h File Reference

Class for dealing with spherical isotropic mass models. More...

#include <vector>
#include <gsl/gsl_spline.h>
Include dependency graph for massmodel.h:
This graph shows which files directly or indirectly include this file:

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...
 

Detailed Description

Class for dealing with spherical isotropic mass models.

Author
EV
Date
2010-2014

This file defines the class CMassModel that is used throughout SMILE to handle spherical isotropic potential-density-distribution function models.