#include <atmdat.h>
Inherits Singleton< t_ADfA >.
Public Member Functions | |
void | set_version (phfit_version val) |
phfit_version | get_version () const |
float | ph1 (int i, int j, int k, int l) const |
float | 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, float 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) |
Protected Member Functions | |
t_ADfA () | |
Private Attributes | |
phfit_version | version |
long int | L [7] |
long int | NINN [30] |
long int | NTOT [30] |
float | PH1 [7][30][30][6] |
float | PH2 [30][30][7] |
float | PHH [NHYDRO_MAX_LEVEL][5] |
float | P [8][110] |
float | ST [9][405] |
float | rrec [30][30][2] |
float | rnew [30][30][4] |
float | fe [13][3] |
float | HRF [NHYDRO_MAX_LEVEL][9] |
float | STH [NHYDRO_MAX_LEVEL] |
double | CF [30][30][5] |
Friends | |
class | Singleton< t_ADfA > |
Definition at line 194 of file atmdat.h.
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, chDataPath, DEBUG_ENTRY, DEBUG_EXIT, fe, FILENAME_PATH_LENGTH_2, HRF, ioQQQ, L, lgDataPathSet, NHYDRO_MAX_LEVEL, NINN, NTOT, P, PH1, PH2, PHFIT_UNDEF, PHH, rnew, rrec, ST, STH, and version.
double t_ADfA::coll_ion | ( | long int | iz, | |
long int | in, | |||
double | t | |||
) |
atmdat_coll_ion D Verner's routine to compute collisional ionization rate coefficients
iz | ||
in | ||
t |
Definition at line 856 of file atmdat_adfa.cpp.
References CF, DEBUG_ENTRY, DEBUG_EXIT, EVRYD, and TE1RYD.
Referenced by ContSetIntensity(), HeCollid(), HydroCollid(), and ion_collis().
phfit_version t_ADfA::get_version | ( | ) | const [inline] |
get_version which version of phfit data should be used?
Definition at line 231 of file atmdat.h.
References version.
Referenced by OpacityCreateAll().
double t_ADfA::H_rad_rec | ( | long int | iz, | |
long int | n, | |||
double | t | |||
) |
atmdat_H_rad_rec calculates state-specific recombination rates for H and H-like ions
iz | ||
n | ||
t |
Definition at line 792 of file atmdat_adfa.cpp.
References ASSERT, DEBUG_ENTRY, DEBUG_EXIT, HRF, NHYDRO_MAX_LEVEL, POW2, powi(), x1, and x2.
Referenced by HeRecom(), and HydroRecom().
double t_ADfA::hpfit | ( | long int | iz, | |
long int | n, | |||
double | e | |||
) |
hpfit state specific photoionization cross sections for model hydrogen atom
iz | ||
n | ||
e |
Definition at line 464 of file atmdat_adfa.cpp.
References ASSERT, cdEXIT(), DEBUG_ENTRY, DEBUG_EXIT, ioQQQ, MAX2, NHYDRO_MAX_LEVEL, ph1(), PHH, and POW2.
Referenced by hpfit_rel(), and Opacity_iso_photo_cs().
double t_ADfA::hpfit_rel | ( | long int | iz, | |
long int | n, | |||
double | e | |||
) |
float 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
i | ||
j | ||
k | ||
l |
Definition at line 239 of file atmdat.h.
References PH1.
Referenced by ContCreatePointers(), hpfit(), hpfit_rel(), ipShells(), iso_create(), OpacityCreate1Element(), PresTotCurrent(), and PunchDo().
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)
nz | ||
ne | ||
is | ||
e |
Definition at line 300 of file atmdat_adfa.cpp.
References DEBUG_ENTRY, DEBUG_EXIT, L, NINN, nint(), NTOT, PH1, PH2, PHFIT95, POW2, version, and z.
Referenced by Opacity_iso_photo_cs(), OpacityCreate1Element(), OpacityCreateAll(), and pah1_fun().
double t_ADfA::rad_rec | ( | long int | iz, | |
long int | in, | |||
double | t | |||
) |
rad_rec calculates rates of radiative recombination for all ions
iz | nuclear number on physics scale | |
in | number of recombined electrons | |
t | temperature K |
Definition at line 713 of file atmdat_adfa.cpp.
References cdEXIT(), DEBUG_ENTRY, DEBUG_EXIT, fe, ioQQQ, rnew, and rrec.
Referenced by ion_recom_calculate().
void t_ADfA::rec_lines | ( | double | t, | |
float | r[][471] | |||
) |
rec_lines effective recombination coefficients for lines of C, N, O, by D. Verner
t | ||
r |
Definition at line 549 of file atmdat_adfa.cpp.
References a1, DEBUG_ENTRY, DEBUG_EXIT, P, ST, and z.
Referenced by lines(), and PunchLineData().
void t_ADfA::set_version | ( | phfit_version | val | ) | [inline] |
set_version set version of phfit data to be used
val |
Definition at line 228 of file atmdat.h.
References version.
Referenced by pah1_fun(), ParseSet(), and zero().
float 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
i |
Definition at line 245 of file atmdat.h.
References STH.
Referenced by GammaBnPL(), and GammaPL().
double t_ADfA::CF[30][30][5] [private] |
float t_ADfA::fe[13][3] [private] |
float t_ADfA::HRF[NHYDRO_MAX_LEVEL][9] [private] |
long int t_ADfA::L[7] [private] |
long int t_ADfA::NINN[30] [private] |
long int t_ADfA::NTOT[30] [private] |
float t_ADfA::P[8][110] [private] |
float t_ADfA::PH1[7][30][30][6] [private] |
float t_ADfA::PH2[30][30][7] [private] |
float t_ADfA::PHH[NHYDRO_MAX_LEVEL][5] [private] |
float t_ADfA::rnew[30][30][4] [private] |
float t_ADfA::rrec[30][30][2] [private] |
float t_ADfA::ST[9][405] [private] |
float t_ADfA::STH[NHYDRO_MAX_LEVEL] [private] |
phfit_version t_ADfA::version [private] |
Definition at line 200 of file atmdat.h.
Referenced by get_version(), phfit(), set_version(), and t_ADfA().