Cloudy
Spectral Synthesis Code for Astrophysics
Loading...
Searching...
No Matches
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

◆ 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

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:

◆ HydroRecCool()

double HydroRecCool ( long int n,
long int ipZ )

HydroRecCool hydrogen recombination cooling

Parameters
n
ipZ

References ASSERT, cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, exp10(), fprintf(), HCoolRatio(), ioQQQ, ipH_LIKE, ipRecRad, iso_sp, phycon, POW2, POW3, and powi().

Referenced by iso_rad_rec_cooling_approx().

Here is the call graph for this function: