/home66/gary/public_html/cloudy/c10_branch/source/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)

Function Documentation

realnum GetDensity ( realnum  z  ) 

GetDensity find the baryonic density at the given redshift

Parameters:
z 

Definition at line 29 of file cosmology.cpp.

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

Referenced by lgConvPres(), and ParseCMBOuter().

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 11 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().

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 15 Nov 2012 for cloudy by  doxygen 1.6.1