cloudy trunk
Loading...
Searching...
No Matches
Functions | Variables
cosmology.cpp File Reference
#include "cddefines.h"
#include "radius.h"
#include "rfield.h"
#include "parse.h"
#include "physconst.h"
#include "cosmology.h"
Include dependency graph for cosmology.cpp:

Go to the source code of this file.

Functions

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

Variables

t_cosmology cosmology
 

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