25 double getMass(){
return m;}
26 double getZ(){
return z;}
36 void reset(
double,
double);
49 void Set_Parameters();
The cosmology and all the functions required to calculated quantities based on the cosmology.
Definition cosmo.h:52
Class for calculating the properties of NFW dark matter halos at a specified redshift and mass.
Definition halo.h:20
void reset(double, double)
Reset halo mass and redshift.
Definition halo.cpp:36
static double MosterStellarMassFraction(double Mtotal)
returns the fraction of halo+galaxy in stars according to from Moster et al. 2010ApJ....
Definition halo.cpp:146
double getConcentration(int caseunit=0, double alpha0=-0.1)
The halo concentration according to Zhao et al. 2009 is returned, if the integer 1 is given the conce...
Definition halo.cpp:92
double getFormationRedshift(double f=0.5)
The median redshift at which the main halo progenitor assembles 50% of the halo mass,...
Definition halo.cpp:65
double getFormationTime(double f=0.5)
The median time at which the main halo progenitor assembles 50% of the halo mass, if 0<f<1 is given,...
Definition halo.cpp:78
double getRvir(int caseunit=0)
Virial radius of the halo in physical Mpc.
Definition halo.cpp:45
HALOCalculator(COSMOLOGY *co, double mass, double redshift)
Constructor initializing a NFW-halo.
Definition halo.cpp:12
double getR200()
Radius in physical Mpc at which the enclosed density reach 200 times the critical value at that redsh...
Definition halo.cpp:55