#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 |
|
◆ t_ADfA()
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.
◆ coll_ion()
double t_ADfA::coll_ion |
( |
long int | iz, |
|
|
long int | in, |
|
|
double | t ) |
◆ coll_ion_hybrid()
double t_ADfA::coll_ion_hybrid |
( |
long int | z, |
|
|
long int | n, |
|
|
double | t ) |
◆ coll_ion_wrapper()
double t_ADfA::coll_ion_wrapper |
( |
long int | z, |
|
|
long int | n, |
|
|
double | t ) |
References ASSERT, atmdat, 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().
◆ get_version()
get_version which version of phfit data should be used?
References version.
◆ getEthresh()
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, PH1, and set_vshell_index().
Referenced by hpfit(), ipShells(), phfit(), PresTotCurrent(), and SaveDo().
◆ h_coll_str()
const realnum * t_ADfA::h_coll_str |
( |
long | nHi, |
|
|
long | lHi, |
|
|
long | nLo, |
|
|
long | lLo ) const |
◆ H_rad_rec()
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().
◆ hpfit()
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().
◆ ph1()
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.
◆ phfit()
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().
◆ rad_rec()
double t_ADfA::rad_rec |
( |
long int | iz, |
|
|
long int | in, |
|
|
double | t ) |
◆ rec_lines()
void t_ADfA::rec_lines |
( |
double | t, |
|
|
realnum | r[][NRECCOEFCNO] ) |
rec_lines effective recombination coefficients for lines of C, N, O, by D. Verner
- Parameters
-
- Author
- Dima Verner
References a1, DEBUG_ENTRY, NRECCOEFCNO, P, pow(), powpq(), and ST.
Referenced by lines(), and SaveLineData().
◆ set_version()
◆ set_vshell_index()
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()
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.
◆ Singleton< t_ADfA >
◆ CF
◆ fe
◆ HCS
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().
◆ HRF
◆ NFIT_PH1
const int t_ADfA::NFIT_PH1 = 6 |
|
staticprivate |
◆ NFIT_PH2
const int t_ADfA::NFIT_PH2 = 7 |
|
staticprivate |
◆ NINN
◆ NSHELLS
const int t_ADfA::NSHELLS = 7 |
|
staticprivate |
◆ NTOT
◆ PH1
◆ PH2
◆ PHH
◆ rnew
◆ rrec
◆ ST
◆ STH
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().
◆ version
The documentation for this class was generated from the following files: