cloudy trunk
Loading...
Searching...
No Matches
Data Structures | Macros | Functions | Variables
cosmology.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  t_cosmology
 

Macros

#define CMB_TEMP   2.725
 

Functions

realnum GetDensity (realnum z)
 
realnum GetHubbleFactor (realnum z)
 

Variables

t_cosmology cosmology
 

Macro Definition Documentation

◆ CMB_TEMP

#define CMB_TEMP   2.725

this is the current temperature of the cosmic background radiation

‍>refer CMB temp Mather, J.C., Fixsen, D.J., Shafer, R.A., Mosier, C., &
>refercon Wilkinson, D.T. 1999, ApJ, 512, 511

Definition at line 10 of file cosmology.h.

Function Documentation

◆ GetDensity()

realnum GetDensity ( realnum  z)

GetDensity find the baryonic density at the given redshift

Parameters
z

Definition at line 31 of file cosmology.cpp.

References cosmology, DEBUG_ENTRY, t_cosmology::f_He, fixit(), t_cosmology::h, and t_cosmology::omega_baryon.

Referenced by ParseCMBOuter(), and zoneDensity().

Here is the call graph for this function:

◆ GetHubbleFactor()

realnum GetHubbleFactor ( realnum  z)

GetHubbleFactor find the Hubble factor at the given redshift

Parameters
z

Definition at line 13 of file cosmology.cpp.

References cosmology, DEBUG_ENTRY, t_cosmology::H_0, MEGAPARSEC, t_cosmology::omega_k, t_cosmology::omega_lambda, t_cosmology::omega_matter, t_cosmology::omega_rad, POW2, POW3, and POW4.

Referenced by DynaIterEnd(), RT_line_one_tauinc(), and RT_recom_effic().

Variable Documentation

◆ cosmology

t_cosmology cosmology
extern