Class for calculating properties of NFW halo profile.
More...
#include <cosmo.h>
|
double | NFW_V200 (double M200, double R200) |
| Circular velocity at R200 in km/s.
|
|
double | NFW_Vmax (double cons, double M200, double R200) |
| Maximum circular velocity in km/s.
|
|
double | NFW_Vr (double x, double cons, double M200, double R200) |
| Circular velocity in km/s.
|
|
double | NFW_M (double x, double cons, double M200) |
| Mass within a radius x in Msun.
|
|
double | NFW_deltac (double cons) |
| central over-density of nfw halo
|
|
double | NFW_Concentration (double Vmax, double M200, double R200) |
| Concentration of NFW given Vmax in km/s.
|
|
double | NFW_rho (double cons, double x) |
| The density of an NFW profile in units of the critical density.
|
|
void | match_nfw (float Vmax, float R_half, float mass, float *cons, float *Rsize) |
| Returns the concentration and radius of an NFW halo with the mass, half mass radius and Vmax provided.
|
|
float | Rsize (float cons, float Vmax, float mass) |
|
float | g_func (float x) |
|
Class for calculating properties of NFW halo profile.
This class does not take into affect the cosmological correlation between concentration and mass. For this see the HALOCalculator class.
◆ match_nfw()
void NFW_Utility::match_nfw |
( |
float | my_Vmax, |
|
|
float | my_R_half, |
|
|
float | my_mass, |
|
|
float * | my_cons, |
|
|
float * | my_Rsize ) |
Returns the concentration and radius of an NFW halo with the mass, half mass radius and Vmax provided.
- Parameters
-
my_Vmax | Maximum circular velocity (km/s) |
my_R_half | Half mass radius (Mpc) |
my_mass | Mass (solar masses) |
my_cons | output concentration |
my_Rsize | Radius of halo, Not necessarily R200 or Rvir. |
◆ NFW_Concentration()
double NFW_Utility::NFW_Concentration |
( |
double | Vmax, |
|
|
double | M200, |
|
|
double | R200 ) |
Concentration of NFW given Vmax in km/s.
- Parameters
-
Vmax | Maximum circular velocity |
M200 | Mass |
R200 | Radius |
◆ NFW_deltac()
double NFW_Utility::NFW_deltac |
( |
double | cons | ) |
|
central over-density of nfw halo
- Parameters
-
cons | concentration = R_200/R_s |
◆ NFW_M()
double NFW_Utility::NFW_M |
( |
double | x, |
|
|
double | cons, |
|
|
double | M200 ) |
Mass within a radius x in Msun.
- Parameters
-
x | radius , r/R_200 |
cons | concentration = R_200/R_s |
M200 | Mass |
◆ NFW_rho()
double NFW_Utility::NFW_rho |
( |
double | cons, |
|
|
double | x ) |
The density of an NFW profile in units of the critical density.
- Parameters
-
cons | concentration = R_200/R_s |
x | radius , r/R_200 |
◆ NFW_V200()
double NFW_Utility::NFW_V200 |
( |
double | M200, |
|
|
double | R200 ) |
Circular velocity at R200 in km/s.
- Parameters
-
◆ NFW_Vmax()
double NFW_Utility::NFW_Vmax |
( |
double | cons, |
|
|
double | M200, |
|
|
double | R200 ) |
Maximum circular velocity in km/s.
- Parameters
-
cons | concentration = R_200/R_s |
M200 | Mass |
R200 | Radius |
◆ NFW_Vr()
double NFW_Utility::NFW_Vr |
( |
double | x, |
|
|
double | cons, |
|
|
double | M200, |
|
|
double | R200 ) |
Circular velocity in km/s.
- Parameters
-
x | radius , r/R_200 |
cons | concentration = R_200/R_s |
M200 | Mass |
R200 | Radius |
The documentation for this class was generated from the following files:
- CosmoLib/include/cosmo.h
- CosmoLib/nfw.cpp