SMILE
v2.5
Schwarzschild Modelling Interactive expLoratory Environment
|
An extension of axisymmetric model which uses anisotropic Jeans equations to compute velocity dispersions in cylindrical coordinates. More...
#include <massmodelaxi.h>
Public Member Functions | |
CMassModelAxisymmetricJeans (const CPotential *potential, size_t ngrid_R, size_t ngrid_z, double _beta_m=0, const CDensity *density=NULL) | |
construct the axisymmetric approximation for a given potential model | |
~CMassModelAxisymmetricJeans () | |
destroy object, deallocate memory | |
double | sigma_z (double R, double z) const |
velocity dispersion (1d) in the z direction (sigma_z^2) from axisymmetric Jeans equation | |
double | vphisq_av (double R, double z) const |
mean squared velocity in the azimuthal direction from axisymmetric Jeans equations | |
Public Member Functions inherited from smile::CMassModelAxisymmetric | |
CMassModelAxisymmetric (const CDensity *density, size_t ngrid_R, size_t ngrid_z, bool initSplineMass=true) | |
construct the axisymmetric approximation to a given density model | |
~CMassModelAxisymmetric () | |
destroy object, deallocate memory | |
double | mass_R (double R) const |
interpolated mass in a cylinder of radius R (extending to infinity in z direction) | |
double | find_R_mass (double m) const |
find radius R containing a given mass in the cylindrical volume | |
double | Sigma (double R) const |
interpolated surface density (integral of rho over z=-infinity..+infinity) as a function of radius R | |
double | mass_z (double z) const |
interpolated mass in a slice from -z to +z, extending to infinity in R direction | |
double | find_z_mass (double m) const |
find value of z such that the mass of the slice -z..+z equals the given amount | |
double | getTotalMass () const |
return the estimate of total mass | |
Private Member Functions | |
double | spl_eval (double R, double z, interp2d_spline *spl) const |
compute the interpolating spline with the appropriate scaling | |
Private Attributes | |
double | beta_m |
meridional velocity anisotropy parameter | |
interp2d_spline * | spl_vmer |
2d spline used for interpolating the velocity dispersion in meridional plane | |
interp2d_spline * | spl_vphi |
2d spline for interpolating the mean-square azimuthal velocity | |
Additional Inherited Members | |
Protected Attributes inherited from smile::CMassModelAxisymmetric | |
vectord | grid_R |
vectord | grid_z |
grid nodes in R and z directions | |
double | totalMass |
total mass of the original density model | |
gsl_spline * | spl_mass_R |
interpolating spline for the enclosed mass in a cylindrical radius R | |
gsl_spline * | spl_mass_z |
interpolating spline for the enclosed mass in a slice in z direction | |
An extension of axisymmetric model which uses anisotropic Jeans equations to compute velocity dispersions in cylindrical coordinates.
The solution is specified by a single parameter – the meridional velocity anisotropy coefficient , which is constant with radius; furthermore, the velocity dispersion tensor is assumed to be aligned with cylindrical coordinates. The density of tracer stars whose velocity dispersions we need may be different from the potential in which they move.