Cloudy
Spectral Synthesis Code for Astrophysics
|
#include <hmi.h>
Public Member Functions | |
const char * | chName () const |
void | zero () |
void | comment (t_warnings &) |
Public Member Functions inherited from module | |
module () | |
virtual | ~module () |
hmi.h - parameters dealing with hydrogen molecules
|
inlinevirtual |
Implements module.
|
inlinevirtual |
Implements module.
|
virtual |
HeatH2Dexc_used is heating due to collisional deexcitation of vib-excited H2 actually used
these are derivative wrt temp for collisional processes within X
the Solomon process rate H2 dissociates into X continuum - actually used
set_NaN( H2_Solomon_dissoc_rate_used );
H2 + hnu => 2H from TH85
H2 + hnu => 2H actually used
Implements module.
References chGrainFormPump, chH2_small_model_type, chJura, CoolH2DexcMax, DEBUG_ENTRY, deriv_HeatH2Dexc_BD96, deriv_HeatH2Dexc_BHT90, deriv_HeatH2Dexc_ELWERT, deriv_HeatH2Dexc_TH85, deriv_HeatH2Dexc_used, H2_frac_abund_set, H2_photodissoc_BHT90, H2_photodissoc_ELWERT_H2g, H2_photodissoc_ELWERT_H2s, H2_photodissoc_TH85, H2_photodissoc_used_H2g, H2_photodissoc_used_H2s, H2_Solomon_dissoc_rate_BD96_H2g, H2_Solomon_dissoc_rate_BD96_H2s, H2_Solomon_dissoc_rate_BHT90_H2g, H2_Solomon_dissoc_rate_BHT90_H2s, H2_Solomon_dissoc_rate_ELWERT_H2g, H2_Solomon_dissoc_rate_ELWERT_H2s, H2_Solomon_dissoc_rate_TH85_H2g, H2_Solomon_dissoc_rate_TH85_H2s, H2_Solomon_dissoc_rate_used_H2g, H2_Solomon_dissoc_rate_used_H2s, H2_total, H2_total_f, h2dep, H2Opacity, h2pdep, h2plus_exc_frac, h2plus_heat, h2plus_heatcoef, h3pdep, HD_total, HeatH2Dexc_BD96, HeatH2Dexc_BHT90, HeatH2Dexc_ELWERT, HeatH2Dexc_TH85, HeatH2Dexc_used, HeatH2DexcMax, HeatH2Dish_BD96, HeatH2Dish_BHT90, HeatH2Dish_ELWERT, HeatH2Dish_TH85, HeatH2Dish_used, hmidep, hmihet, hmitot, lgH2_Chemistry_BigH2, lgH2_Thermal_BigH2, lgLeiden_Keep_ipMH2s, lgLeidenCRHack, ScaleJura, set_NaN(), Tad, UV_Cont_rel2_Draine_DB96_depth, UV_Cont_rel2_Draine_DB96_face, UV_Cont_rel2_Habing_TH85_depth, and UV_Cont_rel2_Habing_TH85_face.
char t_hmi::chGrainFormPump |
method used for grain formation pumping
Referenced by diatomics::init(), ParseSet(), and zero().
char t_hmi::chH2_small_model_type |
the set h2 small model command tells code says which of the small model H2 to use. Default is Elwert
Referenced by CoolEvaluate(), mole_effects(), mole_h_reactions(), ParseSet(), and zero().
char t_hmi::chJura |
the set h2 jura command tells code which treatment of H2 formation to use
Referenced by mole_h2_grain_form(), ParseSet(), and zero().
realnum t_hmi::CoolH2DexcMax |
the largest fraction of total cooling anywhere in model
Referenced by IterStart(), lines_molecules(), PrtComment(), and zero().
realnum t_hmi::deriv_HeatH2Dexc_BD96 |
Referenced by CoolEvaluate(), mole_effects(), and zero().
realnum t_hmi::deriv_HeatH2Dexc_BHT90 |
Referenced by CoolEvaluate(), mole_effects(), and zero().
realnum t_hmi::deriv_HeatH2Dexc_ELWERT |
Referenced by CoolEvaluate(), mole_effects(), and zero().
realnum t_hmi::deriv_HeatH2Dexc_TH85 |
Referenced by CoolEvaluate(), mole_effects(), mole_h_fixup(), and zero().
realnum t_hmi::deriv_HeatH2Dexc_used |
these are derivative wrt temp for collisional processes within X
Referenced by CoolEvaluate(), HeatSum(), IterRestart(), IterStart(), and zero().
double t_hmi::exphmi |
Boltzmann factor for hmi
Referenced by mole_h_reactions().
double t_hmi::H2_forms_grains |
these are the H- and grain formation rates, added above and below a certain energy (2.6 eV) for production of H2 or H2* in small network
Referenced by diatomics::mole_H2_form(), and mole_h_rate_diagnostics().
double t_hmi::H2_forms_hminus |
Referenced by frac_H2star_hminus(), diatomics::mole_H2_form(), and mole_h_rate_diagnostics().
double t_hmi::H2_frac_abund_set |
this is set to zero, but to positive number with atom h2 fraction command this sets the H2 density by multiplying the hydrogen density to become the H2 density
Referenced by diatomics::H2_LevelPops(), mole_h_fixup(), mole_solve(), ParseSet(), and zero().
double t_hmi::H2_H2g_to_H2s_rate_BD96 |
the Solomon process excitation, H2g -> H2*, rate for the Bertodi & Draine model
Referenced by mole_h_reactions().
double t_hmi::H2_H2g_to_H2s_rate_BHT90 |
the Solomon process excitation, H2g -> H2*, rate from Burton et al. 1990
Referenced by mole_h_reactions().
double t_hmi::H2_H2g_to_H2s_rate_ELWERT |
the Solomon process excitation, H2g -> H2*, rate for Elwert et al. model in prep.
Referenced by mole_h_reactions().
double t_hmi::H2_H2g_to_H2s_rate_TH85 |
the Solomon process excitation, H2g -> H2*, rate from Tielens & Hollenbach 85
Referenced by mole_h_reactions().
double t_hmi::H2_H2g_to_H2s_rate_used |
the Solomon process excitation, H2g -> H2*, - actually used
Referenced by IterRestart(), IterStart(), and mole_h_reactions().
double t_hmi::H2_photodissoc_BHT90 |
Referenced by mole_h_reactions(), and zero().
double t_hmi::H2_photodissoc_ELWERT_H2g |
Referenced by mole_h_reactions(), and zero().
double t_hmi::H2_photodissoc_ELWERT_H2s |
Referenced by mole_h_reactions(), and zero().
double t_hmi::H2_photodissoc_TH85 |
Referenced by mole_h_reactions(), and zero().
double t_hmi::H2_photodissoc_used_H2g |
the Solomon process rate H2 dissociates into X continuum - actually used double H2_Solomon_dissoc_rate_used; H2 + hnu => 2H from TH85 H2 + hnu => 2H actually used
Referenced by IterRestart(), IterStart(), mole_h_reactions(), SaveDo(), and zero().
double t_hmi::H2_photodissoc_used_H2s |
Referenced by IterRestart(), IterStart(), mole_h_reactions(), and zero().
double t_hmi::H2_rate_destroy |
rate ground of H2 is destroyed
Referenced by diatomics::H2_LevelPops(), diatomics::H2_PunchDo(), mole_effects(), and mole_h_rate_diagnostics().
double t_hmi::H2_Solomon_dissoc_rate_BD96_H2g |
Referenced by diatomics::H2_PunchDo(), IonHydro(), mole_h_reactions(), and zero().
double t_hmi::H2_Solomon_dissoc_rate_BD96_H2s |
Referenced by diatomics::H2_PunchDo(), mole_h_reactions(), and zero().
double t_hmi::H2_Solomon_dissoc_rate_BHT90_H2g |
Referenced by mole_h_reactions(), and zero().
double t_hmi::H2_Solomon_dissoc_rate_BHT90_H2s |
Referenced by mole_h_reactions(), and zero().
double t_hmi::H2_Solomon_dissoc_rate_ELWERT_H2g |
Referenced by diatomics::H2_PunchDo(), mole_h_reactions(), and zero().
double t_hmi::H2_Solomon_dissoc_rate_ELWERT_H2s |
Referenced by mole_h_reactions(), and zero().
double t_hmi::H2_Solomon_dissoc_rate_TH85_H2g |
Referenced by diatomics::H2_PunchDo(), IonHydro(), mole_h_reactions(), and zero().
double t_hmi::H2_Solomon_dissoc_rate_TH85_H2s |
Referenced by diatomics::H2_PunchDo(), mole_h_reactions(), and zero().
double t_hmi::H2_Solomon_dissoc_rate_used_H2g |
the Solomon process dissociate rate from Tielens & Hollenbach 85
Referenced by IonHydro(), IterRestart(), IterStart(), mole_effects(), mole_h_rate_diagnostics(), mole_h_reactions(), SaveDo(), and zero().
double t_hmi::H2_Solomon_dissoc_rate_used_H2s |
Referenced by IterRestart(), IterStart(), mole_effects(), mole_h_reactions(), and zero().
double t_hmi::H2_total |
the total H2 density [cm-3], NOT 2*n(H2), the sum of H2 and H2*
Referenced by ConvBase(), ConvTempEdenIoniz(), CoolEvaluate(), CoolH2_GA08(), GrainCollHeating(), GrainMakeDiffuse(), GrnStdDpth(), diatomics::H2_X_sink_and_source(), HeatSum(), ColliderList::init(), IonHydro(), iter_end_check(), IterRestart(), map_do(), t_mean::MeanInc(), mole_effects(), mole_h_fixup(), mole_h_rate_diagnostics(), OpacityAddTotal(), PrtZone(), radius_first(), radius_increment(), radius_next(), SaveDo(), ScaleAllDensities(), and zero().
realnum t_hmi::H2_total_f |
Referenced by diatomics::H2_X_coll_rate_evaluate(), IterRestart(), mole_effects(), mole_h_fixup(), and zero().
double t_hmi::h2dep |
Referenced by mole_effects(), mole_h_rate_diagnostics(), PrtZone(), and zero().
realnum t_hmi::h2dfrc |
Referenced by IterStart(), lines_molecules(), and PrtComment().
realnum t_hmi::h2dtot |
Referenced by IterStart(), lines_molecules(), and PrtComment().
realnum t_hmi::h2line_cool_frac |
fraqction of cooling carried by H2 lines
Referenced by IterStart(), lines_molecules(), and PrtComment().
realnum t_hmi::H2Opacity |
mean cross section (cm-2) for H2 Lyman absorption
Referenced by mole_h_fixup(), mole_h_reactions(), radius_first(), and zero().
double t_hmi::h2pdep |
Referenced by mole_effects(), mole_h_rate_diagnostics(), PrtZone(), and zero().
double t_hmi::h2plus_exc_frac |
fraction of H2+ in excited states
Referenced by mole_h_fixup(), OpacityAddTotal(), and zero().
double t_hmi::h2plus_heat |
Referenced by CoolEvaluate(), IterRestart(), IterStart(), lines_molecules(), mole_effects(), mole_h_fixup(), and zero().
double t_hmi::h2plus_heatcoef |
heating due to photo dissoc of H2+
Referenced by mole_effects(), mole_h_fixup(), and zero().
realnum t_hmi::h2pmax |
largest local fraction heating due to dissoc of H2+
Referenced by IterStart(), lines_molecules(), and PrtComment().
double t_hmi::H2star_forms_grains |
Referenced by diatomics::mole_H2_form(), and mole_h_rate_diagnostics().
double t_hmi::H2star_forms_hminus |
Referenced by frac_H2star_hminus(), diatomics::mole_H2_form(), and mole_h_rate_diagnostics().
double t_hmi::h3pdep |
Referenced by mole_effects(), PrtZone(), and zero().
double t_hmi::HD_total |
Referenced by CoolEvaluate(), IterRestart(), mole_effects(), PrtZone(), and zero().
double t_hmi::HeatH2Dexc_BD96 |
Referenced by CoolEvaluate(), mole_effects(), and zero().
double t_hmi::HeatH2Dexc_BHT90 |
Referenced by CoolEvaluate(), mole_effects(), and zero().
double t_hmi::HeatH2Dexc_ELWERT |
Referenced by CoolEvaluate(), mole_effects(), and zero().
double t_hmi::HeatH2Dexc_TH85 |
Referenced by CoolEvaluate(), diatomics::H2_PunchDo(), mole_effects(), mole_h_fixup(), and zero().
double t_hmi::HeatH2Dexc_used |
HeatH2Dexc_used is heating due to collisional deexcitation of vib-excited H2 actually used
Referenced by CoolEvaluate(), CoolSave(), HeatSum(), IterRestart(), IterStart(), lines_molecules(), radius_next(), SaveDo(), and zero().
realnum t_hmi::HeatH2DexcMax |
the largest fraction of total heat anywhere in model
Referenced by IterStart(), lines_molecules(), PrtComment(), and zero().
double t_hmi::HeatH2Dish_BD96 |
Referenced by CoolEvaluate(), mole_effects(), and zero().
double t_hmi::HeatH2Dish_BHT90 |
Referenced by CoolEvaluate(), mole_effects(), and zero().
double t_hmi::HeatH2Dish_ELWERT |
Referenced by CoolEvaluate(), mole_effects(), and zero().
double t_hmi::HeatH2Dish_TH85 |
Referenced by CoolEvaluate(), diatomics::H2_PunchDo(), mole_effects(), mole_h_fixup(), and zero().
double t_hmi::HeatH2Dish_used |
HeatH2Dish_used is heating due to H2 dissociation actually used
Referenced by CoolEvaluate(), IterRestart(), IterStart(), lines_molecules(), radius_next(), SaveDo(), and zero().
double t_hmi::hmicol |
Referenced by CoolEvaluate(), CoolSave(), lines_molecules(), mole_h_fixup(), mole_h_rate_diagnostics(), and mole_h_reactions().
double t_hmi::hmidep |
these are departure coef for H-, H2, H2+, and HeH, defined in hmole
Referenced by lgCheckMonitors(), mole_effects(), mole_h_fixup(), mole_h_rate_diagnostics(), OpacityAddTotal(), PrtZone(), RT_tau_inc(), and zero().
double t_hmi::hmihet |
hminus heating, free bound
Referenced by CoolEvaluate(), IterRestart(), IterStart(), lines_molecules(), mole_effects(), mole_h_fixup(), mole_h_rate_diagnostics(), and zero().
double t_hmi::HMinus_induc_rec_cooling |
Referenced by mole_effects(), mole_h_rate_diagnostics(), and mole_h_reactions().
double t_hmi::HMinus_induc_rec_rate |
Referenced by mole_h_rate_diagnostics(), and mole_h_reactions().
double t_hmi::HMinus_photo_heat |
Referenced by mole_effects(), and mole_h_reactions().
double t_hmi::HMinus_photo_rate |
H- photo dissoc rate
Referenced by CoolEvaluate(), mole_h_rate_diagnostics(), mole_h_reactions(), and RT_OTS().
double t_hmi::hmitot |
Referenced by IterRestart(), IterStart(), lines_molecules(), PrtComment(), and zero().
long int t_hmi::iheh1 |
Referenced by ContCreatePointers().
long int t_hmi::iheh2 |
Referenced by ContCreatePointers().
long int t_hmi::iphmin |
continuum array index for H minus threshold
Referenced by ContCreatePointers(), mole_h_reactions(), OpacityAddTotal(), OpacityCreateAll(), RT_diffuse(), and RT_tau_inc().
bool t_hmi::lgH2_Chemistry_BigH2 |
say how to do chemistry (formation and destruction), if true (default) use results of large molecule, if false use TH85 approximations
Referenced by frac_H2star_hminus(), mole_h_reactions(), ParseDatabaseH2(), and zero().
bool t_hmi::lgH2_Thermal_BigH2 |
say how to do thermal solution, if true (default) use results of large molecule, if false use TH85 approximations
Referenced by CoolEvaluate(), ParseDatabaseH2(), and zero().
bool t_hmi::lgLeiden_Keep_ipMH2s |
hack to kill effects of H2* in chemistry network "set leiden hack h2* off
Referenced by diatomics::H2_Calc_Average_Rates(), diatomics::H2_LevelPops(), diatomics::H2_Solomon_rate(), diatomics::H2_X_sink_and_source(), diatomics::init(), t_mole_global::make_species(), diatomics::Mol_Photo_Diss_Rates(), mole_create_react(), diatomics::mole_H2_form(), ParseSet(), and zero().
bool t_hmi::lgLeidenCRHack |
double t_hmi::rate_h2_form_grains_set |
H2 formation rate as set with set h2 rate command units S^-1, actual depl
Referenced by mole_h2_grain_form(), and ParseSet().
double t_hmi::rel_pop_LTE_H2g |
related to the LTE population of H2 in ground, following is n(H2) / [n(H) n(H) ], units cm3
Referenced by mole_effects(), mole_h_rate_diagnostics(), and mole_h_reactions().
double t_hmi::rel_pop_LTE_H2p |
LTE population for H2+, following is n(H2+) / [n(H) n(p) ], units cm3
Referenced by mole_effects(), and mole_h_reactions().
double t_hmi::rel_pop_LTE_H2s |
related to the LTE population of H2s, following is n(H2s) / [n(H) n(H) ], units cm3
Referenced by mole_h_rate_diagnostics(), and mole_h_reactions().
double t_hmi::rel_pop_LTE_H3p |
related to population of H3+
Referenced by mole_effects(), and mole_h_reactions().
double t_hmi::rel_pop_LTE_Hmin |
related to the LTE populations of H-, H2, and H2+ each is a constant with temperature dependence, and needs to be multiplied by the densities of the separated components to become the LTE density. following is n(H-) / [ n(e) n(H) ], units cm3
Referenced by mole_effects(), mole_h_rate_diagnostics(), and mole_h_reactions().
realnum t_hmi::ScaleJura |
this is a scale factor to multiply the Jura rate, default is unity, changed with the set jura scale command
Referenced by mole_h2_grain_form(), ParseSet(), and zero().
realnum t_hmi::Tad |
binding energy for change in H2 population while on grain surface, set with "set h2 Tad " command
Referenced by mole_h2_grain_form(), ParseSet(), and zero().
realnum t_hmi::UV_Cont_rel2_Draine_DB96_depth |
Referenced by diatomics::H2_PunchDo(), IterRestart(), IterStart(), mole_h_reactions(), SaveDo(), and zero().
realnum t_hmi::UV_Cont_rel2_Draine_DB96_face |
UV flux relative to Habing value, used for some simple molecular photodissociation rates, as defined by Draine & Bertoldi 1996 -0 we try to do this the way they describe, since they say that this will agree with their large H2 molecule, first define field at the illuminated face, then get value at depth using their form of the extinction and shielding, rather than our exact calculation
Referenced by IterRestart(), IterStart(), mole_effects(), mole_h_reactions(), PrtFinal(), and zero().
realnum t_hmi::UV_Cont_rel2_Habing_spec_depth |
the special version of g0 with adjustable bounds
Referenced by diatomics::H2_PunchDo(), and mole_h_reactions().
realnum t_hmi::UV_Cont_rel2_Habing_TH85_depth |
Referenced by GrainDrive(), GrainTemperature(), diatomics::H2_PunchDo(), mole_h_reactions(), SaveDo(), and zero().
realnum t_hmi::UV_Cont_rel2_Habing_TH85_face |
UV flux relative to Habing value, used for some simple molecular photodissociation rates, as defined by Tielens & Hollenbach 1985
Referenced by ion_photo(), IterRestart(), IterStart(), mole_h_reactions(), PrtFinal(), and zero().