#include <atmdat_adfa.h>
|
void | set_version (phfit_version val) |
|
phfit_version | get_version () const |
|
realnum | ph1 (int i, int j, int k, int l) const |
|
double | getEthresh (long nshell, long nel, long Z) 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) |
|
void | rec_lines (double t, realnum r[][NRECCOEFCNO]) |
|
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) |
|
double | coll_ion_wrapper (long int z, long int n, double t) |
|
double | coll_ion_hybrid (long int z, long int n, double t) |
|
const realnum * | h_coll_str (long nHi, long lHi, long nLo, long lLo) const |
|
constructor: read in all the ADfA data files
References ASSERT, cdEXIT, CF, DataParser::checkEOD(), DataParser::checkEOL(), DataParser::checkMagic(), DEBUG_ENTRY, ES_NONE, EXIT_FAILURE, fe, fprintf(), DataParser::getline(), DataParser::getToken(), HCS, HRF, ioQQQ, L, LIMELM, NFIT_PH1, NFIT_PH2, NHCSTE, NHYDRO_MAX_LEVEL, NINN, NSHELLS, NTOT, DataParser::open(), open_data(), 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 |
|
) |
| |
double t_ADfA::coll_ion_hybrid |
( |
long int |
z, |
|
|
long int |
n, |
|
|
double |
t |
|
) |
| |
double t_ADfA::coll_ion_wrapper |
( |
long int |
z, |
|
|
long int |
n, |
|
|
double |
t |
|
) |
| |
References ASSERT, atmdat, t_atmdat::CIRCData, coll_ion(), coll_ion_hybrid(), DEBUG_ENTRY, t_atmdat::DIMA, fprintf(), t_atmdat::HYBRID, ioQQQ, LIMELM, and TotalInsanity().
Referenced by ContSetIntensity(), ion_collis(), and iso_collisional_ionization().
double t_ADfA::getEthresh |
( |
long |
nshell, |
|
|
long |
nel, |
|
|
long |
Z |
|
) |
| const |
getEthresh – get ionization threshold for shell For inner shells use data of Verner et al. (1995) or (1996); for valence shells use NIST ionization potentials.
- Parameters
-
nshell | [in] shell index (1 - 1s, 2 - 2s, etc, <= 7) |
nel | [in] number of electrons in ion |
Z | [in] atomic number of element |
- Returns
- ionization threshold, in eV
References atmdat, t_atmdat::getIonPot(), PH1, and set_vshell_index().
Referenced by hpfit(), ipShells(), OpacityCreate1Element(), phfit(), PresTotCurrent(), and SaveDo().
const realnum * t_ADfA::h_coll_str |
( |
long |
nHi, |
|
|
long |
lHi, |
|
|
long |
nLo, |
|
|
long |
lLo |
|
) |
| const |
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
-
- Author
- Dima Verner
References ASSERT, DEBUG_ENTRY, exp10(), HRF, NHYDRO_MAX_LEVEL, pow(), POW2, powi(), x1, and x2.
Referenced by iso_radiative_recomb(), iso_radrecomb_from_cross_section(), and iso_recomb_setup().
double t_ADfA::hpfit |
( |
long int |
iz, |
|
|
long int |
n, |
|
|
double |
e |
|
) |
| |
hpfit state specific photoionization cross sections for model hydrogen atom
- Parameters
-
- Author
- Dima Verner
References ASSERT, cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, fprintf(), getEthresh(), ioQQQ, MAX2, NHYDRO_MAX_LEVEL, PHH, pow(), and POW2.
Referenced by Opacity_iso_photo_cs().
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
-
References PH1.
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
-
- Author
- Dima Verner
References ASSERT, DEBUG_ENTRY, getEthresh(), L, NINN, nint(), PH1, PH2, PHFIT95, pow(), POW2, set_vshell_index(), and version.
Referenced by InitBinAugerData(), Opacity_iso_photo_cs(), OpacityCreate1Element(), OpacityCreateAll(), and pah1_fun().
double t_ADfA::rad_rec |
( |
long int |
iz, |
|
|
long int |
in, |
|
|
double |
t |
|
) |
| |
void t_ADfA::rec_lines |
( |
double |
t, |
|
|
realnum |
r[][NRECCOEFCNO] |
|
) |
| |
long t_ADfA::set_vshell_index |
( |
long |
ne, |
|
|
long |
Z |
|
) |
| const |
|
inlineprivate |
set_vshell_index – Set valence shell index for given ion The index is used to access the photoionization cross-section data of Verner et al. (1995) or (1996).
- Parameters
-
[in] | ne | number of electrons |
[in] | Z | atomic number of element |
- Returns
- long index of valence shell
References ipARGON, ipCALCIUM, ipIRON, ipMANGANESE, ipSCANDIUM, ipTITANIUM, and NTOT.
Referenced by getEthresh(), and phfit().
sth array of cross sections for photoionization of hydrogen at threshold, 0 is 1s, 1 is 2s, 2 is 2p, up to 400
- Parameters
-
References STH.
array of EIE cross sections for hydrogen atom. For all E1 transitions nl - n'l', with n' < n <= 5
Referenced by h_coll_str(), and t_ADfA().
const int t_ADfA::NFIT_PH1 = 6 |
|
staticprivate |
const int t_ADfA::NFIT_PH2 = 7 |
|
staticprivate |
const int t_ADfA::NSHELLS = 7 |
|
staticprivate |
array of cross sections for photoionization of hydrogen at threshold, 0 is 1s, 1 is 2s, 2 is 2p, up to 400
Referenced by sth(), and t_ADfA().
The documentation for this class was generated from the following files: