cloudy  trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions
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:

Go to the source code of this file.

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

Definition at line 126 of file hydroreccool.cpp.

References DEBUG_ENTRY, MAX2, MIN2, x1, and x2.

Referenced by HydroRecCool(), and iso_rad_rec_cooling_approx().

double HydroRecCool ( long int  n,
long int  ipZ 
)

HydroRecCool hydrogen recombination cooling

Parameters
n
ipZ

Definition at line 10 of file hydroreccool.cpp.

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(), and SaveDo().

Here is the call graph for this function: