Go to the source code of this file.
Data Structures | |
class | t_hydrobranch |
struct | t_hydro |
Functions | |
void | Hydrogenic (void) |
void | HydroLevel (long int ipZ) |
void | HydroLevelPop (long int nelem) |
void | HydroCollid (long int ipZ) |
void | HydroT2Low (long int nelem) |
double | HydroRecCool (long int n, long int ipZ) |
double | HCoolRatio (double t) |
double | HydroBranch (long int nHi, long int nLo, long int ipZPhys) |
void | HydroRecom (long int ipZ) |
void | HydroRenorm (void) |
Variables | |
static const int | NDIM1 = 14 |
static const int | NDIM2 = 15 |
EXTERN struct t_hydro | hydro |
the hydrogenic lines, EmisLines[ipH_LIKE] are in taulines.h
Definition in file hydrogenic.h.
double HCoolRatio | ( | double | t | ) |
returns the ratio of recombination cooling to recombination coefficient
t | the scaled temperature, T * n^2 / Z^2, n is prin quant number, Z is charge, 1 for H |
Definition at line 131 of file hydroreccool.cpp.
References DEBUG_ENTRY, DEBUG_EXIT, x1, and x2.
Referenced by HydroRecCool(), and iso_cool().
double HydroBranch | ( | long int | nHi, | |
long int | nLo, | |||
long int | ipZPhys | |||
) | [inline] |
HydroBranch compute branching ratios for Jason's model hydrogen atom
nHi | upper level quantum number, must be <= 15 | |
nLo | lower quantum number, 2 or greater | |
ipZPhys | physical atomic number, H is 1 |
Definition at line 97 of file hydrogenic.h.
References Singleton< T >::Inst().
Referenced by HLineTransOpacSet(), and SanityCheckBegin().
void HydroCollid | ( | long int | ipZ | ) |
HydroCollid evaluate collision rate for model hydrogen atom
ipZ |
Definition at line 146 of file hydrocollid.cpp.
References t_rfield::anu, ASSERT, ATOMIC_MASS_UNIT, t_dense::AtomicWeight, t_iso::Boltzmann, cdEXIT(), t_iso::ColIoniz, COLL_CONST, t_ADfA::coll_ion(), t_ionbal::CollIonRate_Ground, EmLine::ColUL, t_iso::ConBoltz, conv, EmLine::cs, CS_VS80(), DEBUG_ENTRY, DEBUG_EXIT, dense, t_dense::eden, t_dense::EdenHCorr, t_dense::EdenHontoHCorr, ELECTRON_MASS, EmisLines, EN1RYD, EmLine::gHi, HCSAR_interp(), Heavy, Hion_coll_ioniz_ratecoef(), HION_LTE_POP, t_secondaries::Hx12, Hydcs123(), hydro_vs_ioniz(), Singleton< t_ADfA >::Inst(), ionbal, ioQQQ, ipELECTRON, ipH1s, ipH2p, ipH2s, ipH_LIKE, t_Heavy::ipHeavy, ipHYDROGEN, t_trace::ipIsoTrace, iso, t_opac::lgCaseB_HummerStorey, t_iso::lgColl_excite, t_iso::lgColl_ionize, t_iso::lgColl_l_mixing, t_trace::lgIsoTraceFull, t_iso::lgPopLTE_OK, t_trace::lgTrace, LIMELM, t_conv::nTotalIoniz, t_iso::numLevels_max, opac, phycon, t_iso::PopLTE, PrintEfmt(), rfield, secondaries, SMALLDOUBLE, t_phycon::sqrte, t_iso::stat, t_iso::stat_ion, t_phycon::te, t_phycon::te32, t_phycon::te_ryd, tfidle(), trace, t_secondaries::x12tot, t_dense::xIonDense, and t_iso::xIsoLevNIonRyd.
Referenced by Hydrogenic(), and PunchLineData().
void Hydrogenic | ( | void | ) |
the routine that calls the hydrogenic routines
Definition at line 18 of file hydrogenic.cpp.
References conv, DEBUG_ENTRY, dense, t_conv::EdenErrorAllowed, EmisLines, fnzone, t_dense::gas_phase, h2, H2_LevelPops(), t_hmi::H2_rate_destroy, t_hmi::H2_Solomon_dissoc_rate_BD96_H2g, t_hmi::H2_Solomon_dissoc_rate_BigH2_H2g, t_hmi::H2_Solomon_dissoc_rate_TH85_H2g, t_hmi::H2_Solomon_dissoc_rate_used_H2g, t_hmi::H2_total, hmi, hmole(), t_hmi::Hmolec, hydro, HydroCollid(), HydroLevel(), HydroRecom(), ion_solver(), t_dense::IonHigh, ioQQQ, ipH1s, ipH2p, ipH2s, ipH_LIKE, ipHELIUM, ipHYDROGEN, ipMH, ipMHp, iso, iso_continuum_lower(), iso_ionize_recombine(), iso_photo(), t_hmi::lgBigH2_evaluated, t_dense::lgElmtOn, t_hmi::lgH2_Chemistry_BigH2, t_h2::lgH2ON, t_dense::lgSetIoniz, t_trace::lgTrace, LIMELM, MALLOC, N_H_MOLEC, t_iso::nLyaLevel, t_hmi::nProton, t_iso::numLevels_local, t_iso::numLevels_max, t_iso::Pop2Ion, t_iso::pop_ion_ov_neut, EmLine::PopHi, EmLine::PopLo, EmLine::PopOpc, PrintEfmt(), EmLine::pump, SDIV(), t_dense::SetIoniz, SMALLFLOAT, trace, t_dense::xIonDense, and t_hydro::xLymanPumpingScaleFactor.
Referenced by ConvBase().
void HydroLevel | ( | long int | ipZ | ) |
HydroLevel solve for ionization balance level populations of model hydrogen atom
ipZ |
Definition at line 231 of file hydrolevel.cpp.
References ASSERT, BIGDOUBLE, BIGFLOAT, cdEXIT(), t_elementnames::chElementName, t_elementnames::chElementSym, t_iso::chTypeAtomSet, t_iso::chTypeAtomUsed, t_iso::ColIoniz, t_ionbal::CollIonRate_Ground, ContNegative(), conv, DEBUG_ENTRY, DEBUG_EXIT, dense, t_iso::DepartCoef, dynamics, t_dense::eden, t_dense::EdenHCorr, t_dense::EdenHontoHCorr, elementnames, EmisLines, t_iso::gamnc, hydro, HydroLevelPop(), HydroRenorm(), HydroT2Low(), ionbal, t_dense::IonHigh, ioQQQ, ipH1s, ipH2p, ipH2s, ipH_LIKE, ipHELIUM, ipHYDROGEN, t_trace::ipIsoTrace, iso, t_dynamics::lgAdvection, t_trace::lgHBug, t_trace::lgIsoTraceFull, t_conv::lgSearch, t_trace::lgTrace, LIMELM, MAX2, MIN2, t_iso::nTopOff, t_iso::numLevels_local, t_iso::numLevels_max, nzone, EmLine::ots, phycon, t_iso::Pop2Ion, t_iso::pop_ion_ov_neut, EmLine::PopHi, EmLine::PopLo, t_iso::PopLTE, EmLine::PopOpc, PrintE93(), PrintEfmt(), PrtHydroTrace1(), PrtHydroTrace1a(), t_iso::RadRec_effec, t_iso::RateCont2Level, t_ionbal::RateIonizTot, t_iso::RateLevel2Cont, t_ionbal::RateRecomTot, t_iso::RecomInducRate, SDIV(), secondaries, ShowMe(), SMALLDOUBLE, SMALLFLOAT, t_iso::stat, t_phycon::te, trace, t_secondaries::x12tot, t_dense::xIonDense, t_iso::xIonSimple, and t_hydro::xLymanPumpingScaleFactor.
Referenced by Hydrogenic().
void HydroLevelPop | ( | long int | nelem | ) |
HydroLevelPop solve for departure coefs in hydrogen ionization balance
nelem |
Definition at line 110 of file hydrolevelpop.cpp.
References AMAT, amat, ASSERT, EmLine::Aul, t_iso::Boltzmann, cdEXIT(), t_elementnames::chElementName, t_elementnames::chElementSym, EmLine::ColUL, conv, DEBUG_ENTRY, DEBUG_EXIT, dense, t_iso::DepartCoef, dynamics, t_dense::eden, t_dense::EdenHCorr, t_dense::EdenHontoHCorr, elementnames, EmisLines, fnzone, getrf_wrapper(), getrs_wrapper(), t_secondaries::Hx12, ioQQQ, ipH1s, ipH2p, ipH2s, ipH_LIKE, ipHYDROGEN, t_trace::ipIsoTrace, ipiv, iso, KillIfBelowPlasma, t_dynamics::lgAdvection, t_iso::lgColl_excite, t_iso::lgInd2nu_On, t_dynamics::lgISO, t_trace::lgIsoTraceFull, t_conv::lgSearch, t_trace::lgTrace, LIMELM, MALLOC, MIN2, t_iso::numLevels_local, t_iso::numLevels_max, nzone, EmLine::Pdest, EmLine::Pelec_esc, EmLine::Pesc, t_iso::Pop2Ion, t_iso::PopLTE, PrtHydroTrace2(), EmLine::pump, t_dynamics::Rate, t_iso::RateCont2Level, t_iso::RateLevel2Cont, SDIV(), secondaries, t_dynamics::Source, t_iso::stat, TorF(), trace, t_iso::TwoNu_induc_dn, t_iso::TwoNu_induc_up, WAVNRYD, t_dense::xIonDense, and z.
Referenced by HydroLevel().
double HydroRecCool | ( | long int | n, | |
long int | ipZ | |||
) |
HydroRecCool hydrogen recombination cooling
n | ||
ipZ |
Definition at line 10 of file hydroreccool.cpp.
References ASSERT, BOLTZMANN, cdEXIT(), DEBUG_ENTRY, DEBUG_EXIT, HCoolRatio(), ioQQQ, ipH_LIKE, ipRecRad, iso, phycon, POW2, POW3, powi(), t_iso::RadRecomb, t_phycon::sqlogz, t_phycon::te, and t_phycon::telogn.
Referenced by iso_cool(), and PunchDo().
void HydroRecom | ( | long int | ipZ | ) |
HydroRecom photoionization, recombination, radiative rates for model hydrogen atom
ipZ |
Definition at line 16 of file hydrorecom.cpp.
References ASSERT, cdEXIT(), t_elementnames::chElementSym, t_hydro::chHTopType, t_iso::ConOpacRatio, DEBUG_ENTRY, DEBUG_EXIT, elementnames, t_ADfA::H_rad_rec(), hydro, Singleton< t_ADfA >::Inst(), ionbal, ioQQQ, t_punch::ioRecom, ipH1s, ipH2s, ipH_LIKE, ipHYDROGEN, t_iso::ipIsoLevNIonCon, t_trace::ipIsoTrace, ipRecEsc, ipRecNetEsc, ipRecRad, iso, t_opac::lgCaseB, t_trace::lgHBug, t_punch::lgioRecom, t_trace::lgIsoTraceFull, t_iso::lgLevelsLowered, t_hydro::lgReevalRecom, t_trace::lgTrace, LIMELM, MAX2, MIN2, t_iso::nTopOff, t_iso::numLevels_local, t_iso::numLevels_max, nzone, opac, t_opac::otsmin, phycon, PrintEfmt(), punch, t_iso::RadRec_caseB, t_iso::RadRec_effec, t_iso::RadRecomb, t_ionbal::RR_rate_coef_used, RT_recom_effic(), ShowMe(), t_opac::TauAbsGeo, t_phycon::te, and trace.
Referenced by Hydrogenic().
void HydroRenorm | ( | void | ) |
HydroRenorm - renormalize H so that it agrees with the chemistry
Definition at line 376 of file hydrogenic.cpp.
References ASSERT, BIGFLOAT, DEBUG_ENTRY, DEBUG_EXIT, dense, EmisLines, ipH2s, ipH_LIKE, ipHYDROGEN, iso, t_iso::numLevels_local, t_iso::Pop2Ion, EmLine::PopHi, EmLine::PopLo, EmLine::PopOpc, SMALLFLOAT, and t_dense::xIonDense.
Referenced by HydroLevel().
void HydroT2Low | ( | long int | nelem | ) |
HydroT2Low called to do hydrogenic level populations when temp too low for matrix
nelem |
Definition at line 17 of file hydrot2low.cpp.
References ASSERT, EmLine::Aul, BIGFLOAT, EmLine::ColUL, DEBUG_ENTRY, DEBUG_EXIT, dense, t_iso::DepartCoef, t_dense::eden, t_dense::EdenHCorr, t_dense::EdenHontoHCorr, EmisLines, t_iso::gamnc, t_secondaries::Hx12, ionbal, ioQQQ, ipH1s, ipH2p, ipH2s, ipH_LIKE, ipHYDROGEN, iso, t_trace::lgHBug, t_trace::lgTrace, LIMELM, MIN2, t_iso::numLevels_local, EmLine::Pdest, EmLine::Pelec_esc, EmLine::Pesc, phycon, t_iso::Pop2Ion, t_iso::pop_ion_ov_neut, t_iso::PopLTE, t_iso::RadRec_caseB, t_iso::RateCont2Level, t_iso::RateLevel2Cont, t_ionbal::RateRecomTot, SDIV(), secondaries, t_phycon::te, trace, and t_iso::xIonSimple.
Referenced by HydroLevel().
all of these are initialized in zero
Referenced by atoms_fe2ovr(), ContSetIntensity(), ConvTempEdenIoniz(), CoolEvaluate(), Fe2_cooling(), FeIILevelPops(), FeIILyaPump(), HLineTransOpacSet(), Hydrogenic(), HydroLevel(), HydroRecom(), iso_continuum_lower(), iso_create(), iso_photo(), iso_zero(), IterStart(), lines(), lines_general(), lines_hydro(), OpacityAdd1SubshellInduc(), OpacityAddTotal(), ParseAtomHLike(), ParseSet(), pfeii(), PresTotCurrent(), PrtComment(), PrtFinal(), PrtHydroTrace1(), PrtZone(), radius_increment(), rayleh(), RT_line_all(), RT_stark(), and zero().
const int NDIM1 = 14 [static] |
const int NDIM2 = 15 [static] |