cloudy trunk
|
#include "cddefines.h"
#include "atmdat.h"
#include "dense.h"
#include "elementnames.h"
#include "helike.h"
#include "helike_einsta.h"
#include "hydro_bauman.h"
#include "hydrogenic.h"
#include "hydroeinsta.h"
#include "iso.h"
#include "lines_service.h"
#include "opacity.h"
#include "phycon.h"
#include "physconst.h"
#include "secondaries.h"
#include "taulines.h"
#include "thirdparty.h"
Go to the source code of this file.
Functions | |
STATIC void | iso_zero (void) |
STATIC void | iso_allocate (void) |
STATIC void | iso_assign_quantum_numbers (void) |
STATIC void | FillExtraLymanLine (const TransitionList::iterator &t, long ipISO, long nelem, long nHi) |
STATIC void | iso_satellite (void) |
void | iso_create (void) |
double | iso_state_lifetime (long ipISO, long nelem, long n, long l) |
void | iso_cascade (long ipISO, long nelem) |
void | iso_satellite_update (long nelem) |
long | iso_get_total_num_levels (long ipISO, long nmaxResolved, long numCollapsed) |
void | iso_update_num_levels (long ipISO, long nelem) |
void | iso_collapsed_bnl_set (long ipISO, long nelem) |
void | iso_collapsed_bnl_print (long ipISO, long nelem) |
void | iso_collapsed_Aul_update (long ipISO, long nelem) |
void | iso_collapsed_lifetimes_update (long ipISO, long nelem) |
Variables | |
char | chL [21] ={'S','P','D','F','G','H','I','K','L','M','N','O','Q','R','T','U','V','W','X','Y','Z'} |
STATIC void FillExtraLymanLine | ( | const TransitionList::iterator & | t, |
long | ipISO, | ||
long | nelem, | ||
long | nHi ) |
Definition at line 977 of file iso_create.cpp.
References abscf(), DEBUG_ENTRY, GetGF(), H_Einstein_A(), ioQQQ, ipH_LIKE, ipHELIUM, iso_ctrl, iso_sp, iso_state_lifetime(), PI4, POW2, RefIndex(), RYD_INF, and STATIC.
Referenced by iso_create().
STATIC void iso_allocate | ( | void | ) |
Definition at line 457 of file iso_create.cpp.
References multi_arr< T, d, ALLOC, lgBC >::alloc(), AllTransitions, AnonStates, ASSERT, t_iso_sp::bnl_effective, t_iso_sp::BranchRatio, t_iso_sp::CachedAs, t_iso_sp::CascadeProb, multi_arr< T, d, ALLOC, lgBC >::clone(), DEBUG_ENTRY, dense, elementnames, t_iso_sp::ex, ExtraLymanLines, t_iso_sp::fb, findspecies(), molecule::index, multi_arr< T, d, ALLOC, lgBC >::invalidate(), ipExtraLymanLines, ipH_LIKE, ipSatelliteLines, t_iso_sp::ipTrans, iso_ctrl, iso_sp, LIMELM, MAX2, mole, t_iso_sp::n_HighestResolved_max, t_iso_sp::nCollapsed_max, NISO, nLine, null_mole, t_iso_sp::numLevels_malloc, t_iso_sp::numLevels_max, t_iso_sp::QuantumNumbers2Index, multi_arr< T, d, ALLOC, lgBC >::reserve(), SatelliteLines, STATIC, and Transitions.
Referenced by iso_create().
STATIC void iso_assign_quantum_numbers | ( | void | ) |
Definition at line 700 of file iso_create.cpp.
References ASSERT, chL, DEBUG_ENTRY, dense, ipDOUBLET, ipH1s, ipH_LIKE, ipHE_LIKE, ipHELIUM, ipHYDROGEN, iso_sp, LIMELM, MIN2, NISO, POW2, S, STATIC, and TotalInsanity().
Referenced by iso_create().
void iso_cascade | ( | long | ipISO, |
long | nelem ) |
iso_cascade - calculate cascade probabilities, branching ratios, and associated errors
ipISO | |
nelem |
Cascade probabilities are as defined in Robbins 68, generalized here for cascade probability for any iso sequence.
>refer He triplets Robbins, R.R. 1968, ApJ 151, 497R
>refer He triplets Robbins, R.R. 1968a, ApJ 151, 511R
Definition at line 1101 of file iso_create.cpp.
References ASSERT, DEBUG_ENTRY, ex, ioQQQ, ipH_LIKE, ipHe2p3P0, ipHe2p3P1, ipHe2p3P2, ipHE_LIKE, ipHELIUM, IPRAD, iso_ctrl, iso_sp, L_, MALLOC, N_, opac, S, and S_.
Referenced by iso_collapsed_update(), and iso_create().
void iso_collapsed_Aul_update | ( | long | ipISO, |
long | nelem ) |
iso_collapsed_Aul_update - update decays from collapsed levels
ipISO | |
nelem |
Definition at line 1760 of file iso_create.cpp.
References ASSERT, DEBUG_ENTRY, ipH_LIKE, ipHE_LIKE, iso_sp, L_, and TotalInsanity().
Referenced by iso_collapsed_update(), and iso_zero().
void iso_collapsed_bnl_print | ( | long | ipISO, |
long | nelem ) |
iso_collapsed_bnl_print - print departure coefficients for collapsed levels
ipISO | |
nelem |
Definition at line 1714 of file iso_create.cpp.
References DEBUG_ENTRY, elementnames, ioQQQ, ipH_LIKE, ipHE_LIKE, iso_ctrl, and iso_sp.
void iso_collapsed_bnl_set | ( | long | ipISO, |
long | nelem ) |
iso_collapsed_bnl_set - set departure coefficients for collapsed levels
ipISO | |
nelem |
these are just sanity checks, the interpolated value should be between values at interpolation points
Definition at line 1519 of file iso_create.cpp.
References ASSERT, DEBUG_ENTRY, dense, hunt_bisect(), ipH_LIKE, ipHE_LIKE, ipHELIUM, ipHYDROGEN, iso_sp, MAX2, MAX4, MIN2, MIN4, phycon, and TotalInsanity().
Referenced by iso_collapsed_update(), and iso_zero().
void iso_collapsed_lifetimes_update | ( | long | ipISO, |
long | nelem ) |
iso_collapsed_lifetimes_update - update lifetimes of collapsed levels
ipISO | |
nelem |
Definition at line 1807 of file iso_create.cpp.
References ASSERT, DEBUG_ENTRY, iso_ctrl, iso_sp, PI4, and SMALLFLOAT.
Referenced by iso_collapsed_update(), and iso_zero().
void iso_create | ( | void | ) |
iso_create create storage space data for iso sequences, 1 one time per coreload
Definition at line 39 of file iso_create.cpp.
References abscf(), ASSERT, DEBUG_ENTRY, dense, DoFSMixing(), EVRYD, ExtraLymanLines, FillExtraLymanLine(), g, GetGF(), HeCollidSetup(), helike_energy(), helike_transprob(), HelikeTransProbSetup(), hydro_transprob(), Singleton< t_ADfA >::Inst(), ipExtraLymanLines, ipH1s, ipH2p, ipH2s, ipH3d, ipH3p, ipH3s, ipH_LIKE, ipHe1s1S, ipHe2s3S, ipHE_LIKE, ipHELIUM, ipHYDROGEN, ipLY_A, iso_allocate(), iso_assign_quantum_numbers(), iso_cascade(), iso_ctrl, iso_recomb_auxiliary_free(), iso_recomb_malloc(), iso_recomb_setup(), iso_satellite(), iso_satellite_update(), iso_sp, iso_zero(), lgHydroMalloc, LIMELM, N_, NISO, t_ADfA::ph1(), PI4, POW2, RefIndex(), RYD_INF, SMALLFLOAT, TotalInsanity(), and WAVNRYD.
Referenced by ContCreatePointers().
long iso_get_total_num_levels | ( | long | ipISO, |
long | nmaxResolved, | ||
long | numCollapsed ) |
iso_get_total_num_levels - get total number of levels with the given number of resolved and collapsed
ipISO | |
nmaxResolved | |
numCollapsed |
Definition at line 1465 of file iso_create.cpp.
References DEBUG_ENTRY, ipH_LIKE, ipHE_LIKE, and TotalInsanity().
Referenced by iso_continuum_lower(), iso_recomb_malloc(), and iso_update_num_levels().
STATIC void iso_satellite | ( | void | ) |
Definition at line 1328 of file iso_create.cpp.
References ASSERT, DEBUG_ENTRY, dense, elementnames, fixit(), ipCRDW, ipHE_LIKE, ipSatelliteLines, iso_ctrl, iso_sp, LIMELM, NISO, RYDLAM, SatelliteLines, and STATIC.
Referenced by iso_create().
void iso_satellite_update | ( | long | nelem | ) |
iso_satellite_update - update iso satellite line information
Definition at line 1381 of file iso_create.cpp.
References abscf(), ATOMIC_MASS_UNIT, DEBUG_ENTRY, dense, dsexp(), ELECTRON_MASS, ERG1CM, GetGF(), HION_LTE_POP, ipHE_LIKE, ipSatelliteLines, iso_ctrl, iso_sp, max(), MIN2, NISO, phycon, PI4, SatelliteLines, SMALLDOUBLE, and SMALLFLOAT.
Referenced by ion_solver(), iso_create(), and lines().
double iso_state_lifetime | ( | long | ipISO, |
long | nelem, | ||
long | n, | ||
long | l ) |
Definition at line 1057 of file iso_create.cpp.
References ASSERT, ATOMIC_MASS_UNIT, DEBUG_ENTRY, dense, ELECTRON_MASS, FINE_STRUCTURE, H_BAR, ipHE_LIKE, M, POW2, POW4, and SPEEDLIGHT.
Referenced by FillExtraLymanLine(), and SanityCheckBegin().
void iso_update_num_levels | ( | long | ipISO, |
long | nelem ) |
iso_update_num_levels - update level informations for iso sequences
ipISO | |
nelem |
Definition at line 1488 of file iso_create.cpp.
References ASSERT, cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, ioQQQ, iso_get_total_num_levels(), iso_sp, MAX2, and max_num_levels.
Referenced by InitCoreload(), InitCoreloadPostparse(), InitSimPostparse(), ParseAtomISO(), and ParseCompile().
STATIC void iso_zero | ( | void | ) |
Definition at line 413 of file iso_create.cpp.
References DEBUG_ENTRY, dense, hydro, ipH_LIKE, ipHE_LIKE, ipHELIUM, ipHYDROGEN, iso_collapsed_Aul_update(), iso_collapsed_bnl_set(), iso_collapsed_lifetimes_update(), iso_sp, LIMELM, NISO, and STATIC.
Referenced by iso_create().
Definition at line 37 of file iso_create.cpp.
Referenced by iso_assign_quantum_numbers().