Go to the source code of this file.
Defines | |
#define | HE_RREC_MAXN 40 |
#define | HE_LIKE_RREC_MAXN 20 |
#define | N_HE_TE_RECOMB 41 |
#define | SumUpToThisN 1000 |
#define | RECOMBMAGIC (51213) |
Functions | |
double | HelikeCheckRecomb (long nelem, long level, double temperature) |
double | He_cross_section (double EgammaRyd, long ipLevel, long nelem) |
void | HelikeRecombSetup (void) |
void | HeRecom (long nelem) |
#define HE_LIKE_RREC_MAXN 20 |
Ions of the sequence will go up to this n.
Definition at line 13 of file helike_recom.h.
Referenced by HelikeRecombSetup(), and ParseCompile().
#define HE_RREC_MAXN 40 |
this is the number of levels used with the atom he-like levels large command
Definition at line 10 of file helike_recom.h.
Referenced by HelikeRecombSetup(), ParseAtomHeLike(), and ParseCompile().
#define N_HE_TE_RECOMB 41 |
Definition at line 15 of file helike_recom.h.
Referenced by He_RRCoef_Te(), and HelikeRecombSetup().
#define RECOMBMAGIC (51213) |
the magic number for the table of recombination coefficients, YYMMDD
Definition at line 22 of file helike_recom.h.
Referenced by HelikeRecombSetup().
#define SumUpToThisN 1000 |
This is the n to go up to when calculating total recombination. Any change here will not be reflected in total recomb until "compile helike" is run
Definition at line 19 of file helike_recom.h.
Referenced by HelikeRecombSetup(), and HeRecom().
double He_cross_section | ( | double | EgammaRyd, | |
long | ipLevel, | |||
long | nelem | |||
) |
He_cross_section returns cross section (cm^-2), given EgammaRyd, the photon energy in Ryd, ipLevel, the index of the level, 0 is ground, 3 within 2 3P, ipZ is charge, equal to 1 for Helium, this is a wrapper for cross_section
Definition at line 1538 of file helike_recom.cpp.
References ASSERT, cross_section(), EthRyd, globalZ, helike, ipHE_LIKE, ipHELIUM, ipLev, iso, t_helike::lgSetBenjamin, t_iso::nCollapsed_max, t_iso::numLevels_max, and t_iso::xIsoLevNIonRyd.
Referenced by Opacity_iso_photo_cs(), and RecomInt().
double HelikeCheckRecomb | ( | long | nelem, | |
long | level, | |||
double | temperature | |||
) |
HelikeCheckRecomb - called by SanityCheck to confirm that recombination coef are ok, return value is relative error between new calculation of recom, and interp value
nelem | the chemical element, 1 for He | |
level | the level, 0 for ground | |
temperature | the temperature to be used |
Definition at line 3244 of file helike_recom.cpp.
References DEBUG_ENTRY, DEBUG_EXIT, EthRyd, He_RRCoef_Te(), ipHE_LIKE, iso, MAX2, phycon, radrecomb(), t_phycon::te, tfidle(), and t_iso::xIsoLevNIonRyd.
Referenced by SanityCheckBegin().
void HelikeRecombSetup | ( | void | ) |
HelikeRecombSetup
Establish radiative recombination rate coefficients - RRC
Definition at line 2235 of file helike_recom.cpp.
References ASSERT, cdEXIT(), chDataPath, chLine_LENGTH, dense, EthRyd, FFmtRead(), FILENAME_PATH_LENGTH_2, HE_LIKE_RREC_MAXN, HE_RREC_MAXN, helike, INPUT_LINE_LENGTH, ioQQQ, ipHe1s1S, ipHE_LIKE, ipHELIUM, ipLITHIUM, iso, t_helike::lgCompileRecomb, lgDataPathSet, t_dense::lgElmtOn, t_helike::lgNoRecombInterp, t_trace::lgTrace, LIMELM, MALLOC, MAX2, N_HE_TE_RECOMB, t_iso::n_HighestResolved_max, t_iso::nCollapsed_max, t_iso::numLevels_max, radrecomb(), Recomb_Seaton59(), RECOMBMAGIC, RRCoef, SumUpToThisN, TeRRCoef, TotalRecomb, trace, and t_iso::xIsoLevNIonRyd.
Referenced by HeCreate().
void HeRecom | ( | long | nelem | ) |
nelem | nelem on the c scale, He is 1 |
Definition at line 2621 of file helike_recom.cpp.
References ASSERT, t_helike::BranchRatio, t_helike::CascadeProb, cdEXIT(), t_iso::ConOpacRatio, DEBUG_ENTRY, DEBUG_EXIT, dense, t_ionbal::DR_Badnell_rate_coef, E, t_dense::eden, EN1RYD, t_helike::Error, t_helike::ErrorFactor, EthRyd, t_ADfA::H_rad_rec(), He_RRCoef_Te(), helike, Singleton< t_ADfA >::Inst(), ionbal, ioQQQ, ipHe1s1S, ipHe2p3P0, ipHe2p3P1, ipHe2p3P2, ipHe2s3S, ipHE_LIKE, ipHELIUM, t_iso::ipIsoLevNIonCon, IPRAD, ipRecEsc, ipRecNetEsc, ipRecRad, iso, L_, t_opac::lgCaseB, t_helike::lgHugeCaseB, t_iso::lgLevelsLowered, t_helike::lgNoRecombInterp, t_helike::lgRandErrGen, t_helike::lgSetBenjamin, t_helike::lgTopoff, t_helike::Lifetime, LIMELM, MAX2, MIN2, N_, t_iso::nCollapsed_local, t_iso::nCollapsed_max, t_iso::numLevels_local, t_iso::numLevels_max, opac, t_opac::otsmin, phycon, t_helike::RadEffec, t_iso::RadRec_caseB, t_iso::RadRec_effec, radrecomb(), t_iso::RadRecomb, Recomb_Seaton59(), t_ionbal::RR_rate_coef_used, RT_recom_effic(), RYDLAM, S_, t_helike::SigmaAtot, t_helike::SigmaCascadeProb, t_helike::SigmaRadEffec, SumUpToThisN, t_phycon::te, wavelength, and t_iso::xIsoLevNIonRyd.
Referenced by HeCreate(), and HeLike().