/home66/gary/public_html/cloudy/c08_branch/source/atom_hyperfine.cpp File Reference

#include "cddefines.h"
#include "lines_service.h"
#include "phycon.h"
#include "dense.h"
#include "rfield.h"
#include "taulines.h"
#include "iso.h"
#include "trace.h"
#include "hyperfine.h"
#include "physconst.h"

Include dependency graph for atom_hyperfine.cpp:

Go to the source code of this file.

Data Structures

struct  Ion

Defines

#define N_TE_TABLE   12

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 (long i)

Variables

static IonStrengths


Define Documentation

#define N_TE_TABLE   12

Referenced by HyperfineCS().


Function Documentation

void H21_cm_pops ( void   ) 

H21_cm_pops - fine level populations for 21 cm with Lya pumping included

Definition at line 24 of file atom_hyperfine.cpp.

References t_dense::cdsqte, t_transition::Coll, t_rfield::ContBoltz, t_collision::cs, dense, t_transition::Emis, t_quantumState::g, HFLines, t_transition::Hi, hyperfine, t_transition::ipCont, ipH1s, ipH2p, ipH_LIKE, ipHYDROGEN, t_hyperfine::lgLya_pump_21cm, t_transition::Lo, MAX2, OccupationNumberLine(), t_emission::Pdest, t_emission::Pelec_esc, t_emission::Pesc, t_emission::phots, phycon, t_quantumState::Pop, t_emission::PopOpc, t_emission::pump, rfield, SDIV(), sexp(), SMALLFLOAT, StatesElem, T1CM, t_phycon::te, TexcLine(), Transitions, t_hyperfine::Tspin21cm, and t_dense::xIonDense.

Here is the call graph for this function:

STATIC double h21_t_ge_10 ( double  temp  ) 

Definition at line 224 of file atom_hyperfine.cpp.

References MIN2, and x2.

Referenced by H21cm_H_atom().

STATIC double h21_t_lt_10 ( double  temp  ) 

Definition at line 250 of file atom_hyperfine.cpp.

References MAX2.

Referenced by H21cm_H_atom().

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 166 of file atom_hyperfine.cpp.

References MIN2, and sexp().

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:
temp temperature

Definition at line 266 of file atom_hyperfine.cpp.

References h21_t_ge_10(), and h21_t_lt_10().

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:
temp temperature

Definition at line 283 of file atom_hyperfine.cpp.

References MAX2, MIN2, and x2.

void HyperfineCreate ( void   ) 

HyperfineCreate - read in data files and create space for hyperfine lines, called by atmdat_readin at start of calculation

Definition at line 353 of file atom_hyperfine.cpp.

References AddLine2Stack(), AddState2Stack(), ASSERT, t_emission::Aul, cdEXIT, COLL_CONST, DEBUG_ENTRY, dense, t_dense::eden, t_transition::Emis, t_transition::EnergyWN, FFmtRead(), t_quantumState::g, GetGF(), t_emission::gf, t_hyperfine::HFLabundance, HFLines, t_transition::Hi, hyperfine, HyperfineCS(), INPUT_LINE_LENGTH, t_quantumState::IonStg, ioQQQ, t_trace::lgTrace, t_transition::Lo, MALLOC, N, t_quantumState::nelem, nHFLines, open_data(), phycon, read_whole_line(), t_phycon::sqrte, Strengths, Ion::strengths, t_phycon::te, trace, TransitionJunk(), wavelength, t_transition::WLAng, and t_dense::xIonDense.

Here is the call graph for this function:

double HyperfineCS ( long  i  ) 

HyperfineCS - returns interpolated collision strength for element nelem and ion ion

Parameters:
i 

Definition at line 536 of file atom_hyperfine.cpp.

References ASSERT, DEBUG_ENTRY, fp_equal(), N_TE_TABLE, nHFLines, phycon, Strengths, Ion::strengths, and t_phycon::te.

Referenced by HyperfineCreate().

Here is the call graph for this function:


Variable Documentation

Ion* Strengths [static]

Definition at line 350 of file atom_hyperfine.cpp.

Referenced by HyperfineCreate(), and HyperfineCS().


Generated on Mon Feb 16 12:01:56 2009 for cloudy by  doxygen 1.4.7