Cloudy
Spectral Synthesis Code for Astrophysics
Loading...
Searching...
No Matches
atmdat_HS_caseb.cpp File Reference
#include "cddefines.h"
#include "atmdat.h"
Include dependency graph for atmdat_HS_caseb.cpp:

Functions

double atmdat_HS_caseB (long int iHi, long int iLo, long int nelem, double TempIn, double DenIn, char chCase)
 

Function Documentation

◆ atmdat_HS_caseB()

double atmdat_HS_caseB ( long int iHi,
long int iLo,
long int iZ,
double TempIn,
double DenIn,
char chCase )

general utility to read in line emissivities from the Storey & Hummer tables of case B emissivities.

Parameters
iHithe principal quantum numbers, .
iLoupper and lower levels in any order
iZcharge of ion, only 1 and 2 for now
TempIntemperature, must lie within the range of the table, which depends on the ion charge, and is 500 - 30,000K for hydrogen
DenInthe density and must lie within the range of the table
chCasecase - 'a' or 'b'

References ASSERT, atmdat, cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, exp10(), fp_equal(), HS_NZ, NLINEHS, x1, and x2.

Referenced by lines_hydro().

Here is the call graph for this function: