t_ADfA Class Reference

#include <atmdat.h>

Inherits Singleton< T >< t_ADfA >.

Inheritance diagram for t_ADfA:

Inheritance graph
[legend]
Collaboration diagram for t_ADfA:

Collaboration graph
[legend]

Public Member Functions

void set_version (phfit_version val)
phfit_version get_version () const
realnum ph1 (int i, int j, int k, int l) const
realnum sth (int i) const
double phfit (long int nz, long int ne, long int is, double e)
double hpfit (long int iz, long int n, double e)
double hpfit_rel (long int iz, long int n, double e)
void rec_lines (double t, realnum r[][471])
double rad_rec (long int iz, long int in, double t)
double H_rad_rec (long int iz, long int n, double t)
double coll_ion (long int iz, long int in, double t)
realnum h_coll_str (long ipLo, long ipHi, long ipTe)

Protected Member Functions

 t_ADfA ()

Private Attributes

phfit_version version
long int L [7]
long int NINN [30]
long int NTOT [30]
realnum PH1 [7][30][30][6]
realnum PH2 [30][30][7]
realnum PHH [NHYDRO_MAX_LEVEL][5]
realnum P [8][110]
realnum ST [9][405]
realnum rrec [30][30][2]
realnum rnew [30][30][4]
realnum fe [13][3]
realnum HRF [NHYDRO_MAX_LEVEL][9]
realnum STH [NHYDRO_MAX_LEVEL]
double CF [30][30][5]
double HCS [14][10][8]

Friends

class Singleton< t_ADfA >

Detailed Description

Definition at line 217 of file atmdat.h.


Constructor & Destructor Documentation

t_ADfA::t_ADfA (  )  [protected]

constructor: read in all the ADfA data files

Definition at line 10 of file atmdat_adfa.cpp.

References ASSERT, cdEXIT, CF, DEBUG_ENTRY, fe, HCS, HRF, ioQQQ, L, NHYDRO_MAX_LEVEL, NINN, NTOT, open_data(), P, PH1, PH2, PHFIT_UNDEF, PHH, rnew, rrec, ST, STH, and version.

Here is the call graph for this function:


Member Function Documentation

double t_ADfA::coll_ion ( long int  iz,
long int  in,
double  t 
)

coll_ion D Verner's routine to compute collisional ionization rate coefficients

Parameters:
iz 
in 
t 
Author:
Dima Verner

Definition at line 803 of file atmdat_adfa.cpp.

References CF, DEBUG_ENTRY, EVRYD, and TE1RYD.

phfit_version t_ADfA::get_version (  )  const [inline]

get_version which version of phfit data should be used?

Definition at line 260 of file atmdat.h.

References version.

realnum t_ADfA::h_coll_str ( long  ipLo,
long  ipHi,
long  ipTe 
)

h_coll_str routine to grab H cross sections from Anderson et al. 2002.

Parameters:
ipLo 
ipHi 
ipTe 

Definition at line 855 of file atmdat_adfa.cpp.

References ASSERT, DEBUG_ENTRY, HCS, ipH_LIKE, ipHYDROGEN, and N_.

double t_ADfA::H_rad_rec ( long int  iz,
long int  n,
double  t 
)

H_rad_rec calculates state-specific recombination rates for H and H-like ions

Parameters:
iz 
n 
t 
Author:
Dima Verner

Definition at line 741 of file atmdat_adfa.cpp.

References ASSERT, DEBUG_ENTRY, HRF, NHYDRO_MAX_LEVEL, POW2, powi(), x1, and x2.

Here is the call graph for this function:

double t_ADfA::hpfit ( long int  iz,
long int  n,
double  e 
)

hpfit state specific photoionization cross sections for model hydrogen atom

Parameters:
iz 
n 
e 
Author:
Dima Verner

Definition at line 423 of file atmdat_adfa.cpp.

References ASSERT, cdEXIT, DEBUG_ENTRY, ioQQQ, MAX2, NHYDRO_MAX_LEVEL, ph1(), PHH, and POW2.

Referenced by hpfit_rel().

Here is the call graph for this function:

double t_ADfA::hpfit_rel ( long int  iz,
long int  n,
double  e 
)

same as hpfit, but energy is relative to threshold

Parameters:
iz 
n 
e 
Author:
Dima Verner

Definition at line 391 of file atmdat_adfa.cpp.

References ASSERT, hpfit(), MAX2, ph1(), and POW2.

Here is the call graph for this function:

realnum t_ADfA::ph1 ( int  i,
int  j,
int  k,
int  l 
) const [inline]

ph1 access elements of PH1 data block with parameters for photoionization cross section fits

Parameters:
i 
j 
k 
l 

Definition at line 268 of file atmdat.h.

References PH1.

Referenced by hpfit(), and hpfit_rel().

double t_ADfA::phfit ( long int  nz,
long int  ne,
long int  is,
double  e 
)

phfit this subroutine calculates partial photoionization cross sections for all ionization stages of all atoms from H to Zn (Z=30)

Parameters:
nz 
ne 
is 
e 
Author:
Dima Verner

Definition at line 265 of file atmdat_adfa.cpp.

References ASSERT, DEBUG_ENTRY, L, NINN, nint(), NTOT, PH1, PH2, PHFIT95, POW2, and version.

Here is the call graph for this function:

double t_ADfA::rad_rec ( long int  iz,
long int  in,
double  t 
)

rad_rec calculates rates of radiative recombination for all ions

Parameters:
iz nuclear number on physics scale
in number of recombined electrons
t temperature K
Author:
Dima Verner

Definition at line 666 of file atmdat_adfa.cpp.

References cdEXIT, DEBUG_ENTRY, fe, ioQQQ, rnew, and rrec.

void t_ADfA::rec_lines ( double  t,
realnum  r[][471] 
)

rec_lines effective recombination coefficients for lines of C, N, O, by D. Verner

Parameters:
t 
r 
Author:
Dima Verner

Definition at line 504 of file atmdat_adfa.cpp.

References a1, DEBUG_ENTRY, P, and ST.

void t_ADfA::set_version ( phfit_version  val  )  [inline]

set_version set version of phfit data to be used

Parameters:
val 

Definition at line 257 of file atmdat.h.

References version.

realnum t_ADfA::sth ( int  i  )  const [inline]

sth array of cross sections for photoionization of hydrogen at threshold, 0 is 1s, 1 is 2s, 2 is 2p, up to 400

Parameters:
i 

Definition at line 274 of file atmdat.h.

References STH.


Friends And Related Function Documentation

friend class Singleton< t_ADfA > [friend]

Definition at line 219 of file atmdat.h.


Field Documentation

double t_ADfA::CF[30][30][5] [private]

Definition at line 246 of file atmdat.h.

Referenced by coll_ion(), and t_ADfA().

realnum t_ADfA::fe[13][3] [private]

Definition at line 238 of file atmdat.h.

Referenced by rad_rec(), and t_ADfA().

double t_ADfA::HCS[14][10][8] [private]

array of EIE cross sections for hydrogen atom. For all E1 transitions nl - n'l', with n' < n <= 5

Definition at line 252 of file atmdat.h.

Referenced by h_coll_str(), and t_ADfA().

realnum t_ADfA::HRF[NHYDRO_MAX_LEVEL][9] [private]

Definition at line 240 of file atmdat.h.

Referenced by H_rad_rec(), and t_ADfA().

long int t_ADfA::L[7] [private]

Definition at line 225 of file atmdat.h.

Referenced by phfit(), and t_ADfA().

long int t_ADfA::NINN[30] [private]

Definition at line 226 of file atmdat.h.

Referenced by phfit(), and t_ADfA().

long int t_ADfA::NTOT[30] [private]

Definition at line 227 of file atmdat.h.

Referenced by phfit(), and t_ADfA().

realnum t_ADfA::P[8][110] [private]

Definition at line 233 of file atmdat.h.

Referenced by rec_lines(), and t_ADfA().

realnum t_ADfA::PH1[7][30][30][6] [private]

Definition at line 228 of file atmdat.h.

Referenced by ph1(), phfit(), and t_ADfA().

realnum t_ADfA::PH2[30][30][7] [private]

Definition at line 229 of file atmdat.h.

Referenced by phfit(), and t_ADfA().

realnum t_ADfA::PHH[NHYDRO_MAX_LEVEL][5] [private]

Definition at line 231 of file atmdat.h.

Referenced by hpfit(), and t_ADfA().

realnum t_ADfA::rnew[30][30][4] [private]

Definition at line 237 of file atmdat.h.

Referenced by rad_rec(), and t_ADfA().

realnum t_ADfA::rrec[30][30][2] [private]

Definition at line 236 of file atmdat.h.

Referenced by rad_rec(), and t_ADfA().

realnum t_ADfA::ST[9][405] [private]

Definition at line 234 of file atmdat.h.

Referenced by rec_lines(), and t_ADfA().

realnum t_ADfA::STH[NHYDRO_MAX_LEVEL] [private]

array of cross sections for photoionization of hydrogen at threshold, 0 is 1s, 1 is 2s, 2 is 2p, up to 400

Definition at line 244 of file atmdat.h.

Referenced by sth(), and t_ADfA().

phfit_version t_ADfA::version [private]

Definition at line 223 of file atmdat.h.

Referenced by get_version(), phfit(), set_version(), and t_ADfA().


The documentation for this class was generated from the following files:
Generated on Mon Feb 16 12:14:28 2009 for cloudy by  doxygen 1.4.7