cloudy trunk
Loading...
Searching...
No Matches
hydroreccool.cpp File Reference
#include "cddefines.h"
#include "physconst.h"
#include "hydrogenic.h"
#include "phycon.h"
#include "iso.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

◆ HCoolRatio()

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

◆ HydroRecCool()

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, BOLTZMANN, cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, g, HCoolRatio(), ioQQQ, ipH_LIKE, ipRecRad, iso_sp, phycon, POW2, POW3, and powi().

Referenced by iso_rad_rec_cooling_approx(), and SaveDo().

Here is the call graph for this function: