cloudy  trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Data Structures | Functions | Variables
atom_hyperfine.cpp File Reference
#include "cddefines.h"
#include "abund.h"
#include "conv.h"
#include "phycon.h"
#include "dense.h"
#include "rfield.h"
#include "taulines.h"
#include "iso.h"
#include "trace.h"
#include "hyperfine.h"
#include "lines_service.h"
#include "service.h"
Include dependency graph for atom_hyperfine.cpp:

Go to the source code of this file.

Data Structures

struct  t_ColStr
 

Functions

void H21_cm_pops (void)
 
double H21cm_electron (double temp)
 
STATIC double h21_t_ge_10 (double temp)
 
STATIC double h21_t_lt_10 (double temp)
 
double H21cm_H_atom (double temp)
 
double H21cm_proton (double temp)
 
void HyperfineCreate (void)
 
double HyperfineCS (size_t i)
 

Variables

STATIC int Ntemp = -1
 
STATIC double * csTemp
 
STATIC t_ColStrcolstr
 
const double ENERGY_MIN_WN = 1e-10
 

Function Documentation

void H21_cm_pops ( void  )
STATIC double h21_t_ge_10 ( double  temp)

Definition at line 270 of file atom_hyperfine.cpp.

References MIN2, pow(), and pow2().

Referenced by H21cm_H_atom().

Here is the call graph for this function:

STATIC double h21_t_lt_10 ( double  temp)

Definition at line 297 of file atom_hyperfine.cpp.

References MAX2, and pow2().

Referenced by H21cm_H_atom().

Here is the call graph for this function:

double H21cm_electron ( double  temp)

H21cm_electron computes rate for H 21 cm from upper to lower excitation by electrons >>refer H1 cs Smith, F.J., 1966, Planet. Space Sci 14, 929

Parameters
temp

Definition at line 215 of file atom_hyperfine.cpp.

References exp10(), MIN2, powpq(), and sexp().

Referenced by CoolHyperfine(), and radius_increment().

Here is the call graph for this function:

double H21cm_H_atom ( double  temp)

H21cm_H_atom computes rate for H 21 cm from upper to lower excitation by atomic hydrogen from >>refer H1 cs Allison, A.C. & Dalgarno, A., 1969, ApJ 158, 423

Parameters
temptemperature

Definition at line 312 of file atom_hyperfine.cpp.

References h21_t_ge_10(), and h21_t_lt_10().

Referenced by CoolHyperfine(), and radius_increment().

Here is the call graph for this function:

double H21cm_proton ( double  temp)

H21cm_proton - evaluate proton spin changing H atom collision rate, from >>refer 21cm p coll Furlanetto, S.R. & Furlanetto, M.R. 2007, >>refcon MNRAS, doi:10.1111/j.1365-2966.2007.11921.x

Parameters
temptemperature

Definition at line 329 of file atom_hyperfine.cpp.

References MAX2, and MIN2.

Referenced by CoolHyperfine().

void HyperfineCreate ( void  )
double HyperfineCS ( size_t  i)
HyperfineCS - returns interpolated collision strength for element nelem and ion ion 
Parameters
i

Definition at line 673 of file atom_hyperfine.cpp.

References ASSERT, DEBUG_ENTRY, exp10(), HFLines, phycon, TransitionList::size(), splint(), and t_phycon::te.

Referenced by CoolHyperfine(), and HyperfineCreate().

Here is the call graph for this function:

Variable Documentation

STATIC t_ColStr* colstr

Definition at line 392 of file atom_hyperfine.cpp.

STATIC double* csTemp

Definition at line 385 of file atom_hyperfine.cpp.

const double ENERGY_MIN_WN = 1e-10

Definition at line 394 of file atom_hyperfine.cpp.

STATIC int Ntemp = -1

Definition at line 384 of file atom_hyperfine.cpp.

Referenced by HyperfineCreate().