Cloudy
Spectral Synthesis Code for Astrophysics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
hydroreccool.cpp File Reference
#include "cddefines.h"
#include "hydrogenic.h"
#include "phycon.h"
#include "iso.h"
#include "freebound.h"
Include dependency graph for hydroreccool.cpp:

Functions

double HydroRecCool (long int n, long int nelem)
 
double HCoolRatio (double t)
 

Function Documentation

double HCoolRatio ( double  t)

returns the ratio of recombination cooling to recombination coefficient

Parameters
tthe scaled temperature, T * n^2 / Z^2, n is prin quant number, Z is charge, 1 for H

References DEBUG_ENTRY, MAX2, MIN2, pow(), x1, and x2.

Referenced by HydroRecCool(), and iso_rad_rec_cooling_approx().

Here is the call graph for this function:

double HydroRecCool ( long int  n,
long int  ipZ 
)

HydroRecCool hydrogen recombination cooling

Parameters
n
ipZ

References ASSERT, cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, exp10(), t_iso_sp::fb, fprintf(), HCoolRatio(), ioQQQ, ipH_LIKE, ipRecRad, iso_sp, phycon, POW2, POW3, powi(), t_phycon::sqlogz, t_phycon::te, t_phycon::telogn, and t_phycon::TEMP_LIMIT_HIGH_LOG.

Referenced by iso_rad_rec_cooling_approx().

Here is the call graph for this function: