cloudy  trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions | Variables
cosmology.cpp File Reference
#include "cddefines.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

realnum GetDensity ( realnum  z)

GetDensity find the baryonic density at the given redshift

Parameters
z

Definition at line 28 of file cosmology.cpp.

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

Referenced by ParseCMBOuter(), and zoneDensity().

Here is the call graph for this function:

realnum GetHubbleFactor ( realnum  z)

GetHubbleFactor find the Hubble factor at the given redshift

Parameters
z

Definition at line 10 of file cosmology.cpp.

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

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

Variable Documentation

t_cosmology cosmology