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

Class for dealing with axisymmetric mass models. More...

#include "common.h"
#include "potential.h"
#include <gsl/gsl_spline.h>
#include <interp2d_spline.h>
Include dependency graph for massmodelaxi.h:
This graph shows which files directly or indirectly include this file:

Classes

class  smile::CMassModelAxisymmetric
 Class for representing an axisymmetric density model. More...
 
class  smile::CMassModelAxisymmetricJeans
 An extension of axisymmetric model which uses anisotropic Jeans equations to compute velocity dispersions in cylindrical coordinates. More...
 
class  smile::CPotentialAxisymmetrized
 A helper class for representing axisymmetrized versions of the given potential and/or density model. More...
 

Namespaces

 smile
 common namespace for all core SMILE classes, functions and variables
 

Detailed Description

Class for dealing with axisymmetric mass models.

Author
EV
Date
2014

This file defines two classes that are used to deal with axisymmetric density or potential models. They are initialized from a given CDensity or CPotential instance (which needs not be axisymmetric itself, in which case all quantities will be averaged over azimuthal angle using an auxiliary class CPotentialAxisymmetrized). CMassModelAxisymmetric then provides fast interpolation-based routines to compute surface density and mass in a given slab |z|<Z0 or a cylinder R<R0. CMassModelAxisymmetricJeans further provides velocity dispersions obtained by solving the axisymmetric Jeans equations under the assumption of separability in cylindrical coordinates (a.k.a. Jeans Anisotropic Model).