Cloudy
Spectral Synthesis Code for Astrophysics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
t_hmi Struct Reference

#include <hmi.h>

Inheritance diagram for t_hmi:
Collaboration diagram for t_hmi:

Public Member Functions

const char * chName () const
 
void zero ()
 
void comment (t_warnings &)
 
- Public Member Functions inherited from module
 module ()
 
virtual ~module ()
 

Public Attributes

double H2_total
 
realnum H2_total_f
 
double HD_total
 
double H2_rate_destroy
 
double hmihet
 
double hmitot
 
double hmicol
 
realnum H2Opacity
 
double hmidep
 
double h2dep
 
double h2pdep
 
double h3pdep
 
double h2plus_heatcoef
 
double h2plus_heat
 
double h2plus_exc_frac
 
double HMinus_photo_rate
 
realnum HeatH2DexcMax
 
realnum CoolH2DexcMax
 
realnum h2dfrc
 
realnum h2dtot
 
realnum h2line_cool_frac
 
double HMinus_induc_rec_cooling
 
double HMinus_induc_rec_rate
 
double HMinus_photo_heat
 
long int iheh1
 
long int iheh2
 
realnum UV_Cont_rel2_Habing_TH85_face
 
realnum UV_Cont_rel2_Habing_TH85_depth
 
realnum UV_Cont_rel2_Habing_spec_depth
 
realnum UV_Cont_rel2_Draine_DB96_face
 
realnum UV_Cont_rel2_Draine_DB96_depth
 
double H2_H2g_to_H2s_rate_TH85
 
double H2_H2g_to_H2s_rate_BHT90
 
double H2_H2g_to_H2s_rate_BD96
 
double H2_H2g_to_H2s_rate_ELWERT
 
double H2_H2g_to_H2s_rate_used
 
double H2_Solomon_dissoc_rate_used_H2g
 
double H2_Solomon_dissoc_rate_TH85_H2g
 
double H2_Solomon_dissoc_rate_BHT90_H2g
 
double H2_Solomon_dissoc_rate_BD96_H2g
 
double H2_Solomon_dissoc_rate_ELWERT_H2g
 
double H2_Solomon_dissoc_rate_used_H2s
 
double H2_Solomon_dissoc_rate_TH85_H2s
 
double H2_Solomon_dissoc_rate_BHT90_H2s
 
double H2_Solomon_dissoc_rate_BD96_H2s
 
double H2_Solomon_dissoc_rate_ELWERT_H2s
 
double H2_photodissoc_used_H2g
 
double H2_photodissoc_used_H2s
 
double H2_photodissoc_ELWERT_H2g
 
double H2_photodissoc_ELWERT_H2s
 
double H2_photodissoc_TH85
 
double H2_photodissoc_BHT90
 
long int iphmin
 
realnum h2pmax
 
realnum Tad
 
double HeatH2Dish_used
 
double HeatH2Dish_TH85
 
double HeatH2Dish_BD96
 
double HeatH2Dish_BHT90
 
double HeatH2Dish_ELWERT
 
double HeatH2Dexc_used
 
double HeatH2Dexc_TH85
 
double HeatH2Dexc_BD96
 
double HeatH2Dexc_BHT90
 
double HeatH2Dexc_ELWERT
 
realnum deriv_HeatH2Dexc_used
 
realnum deriv_HeatH2Dexc_TH85
 
realnum deriv_HeatH2Dexc_BD96
 
realnum deriv_HeatH2Dexc_BHT90
 
realnum deriv_HeatH2Dexc_ELWERT
 
double H2_forms_grains
 
double H2_forms_hminus
 
double H2star_forms_grains
 
double H2star_forms_hminus
 
bool lgH2_Thermal_BigH2
 
bool lgH2_Chemistry_BigH2
 
char chH2_small_model_type
 
char chGrainFormPump
 
char chJura
 
realnum ScaleJura
 
double rate_h2_form_grains_set
 
double H2_frac_abund_set
 
double exphmi
 
double rel_pop_LTE_Hmin
 
double rel_pop_LTE_H2s
 
double rel_pop_LTE_H2p
 
double rel_pop_LTE_H2g
 
double rel_pop_LTE_H3p
 
bool lgLeiden_Keep_ipMH2s
 
bool lgLeidenCRHack
 

Detailed Description

hmi.h - parameters dealing with hydrogen molecules

Member Function Documentation

const char* t_hmi::chName ( ) const
inlinevirtual

Implements module.

void t_hmi::comment ( t_warnings )
inlinevirtual

Implements module.

void t_hmi::zero ( void  )
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.

Here is the call graph for this function:

Member Data Documentation

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
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
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
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
double t_hmi::H2_Solomon_dissoc_rate_BD96_H2s
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
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
double t_hmi::H2_Solomon_dissoc_rate_TH85_H2s
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
double t_hmi::h2dep
realnum t_hmi::h2dfrc
realnum t_hmi::h2dtot
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
double t_hmi::h2plus_exc_frac

fraction of H2+ in excited states

Referenced by mole_h_fixup(), OpacityAddTotal(), 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
double t_hmi::H2star_forms_hminus
double t_hmi::h3pdep

Referenced by mole_effects(), PrtZone(), and zero().

double t_hmi::HD_total
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
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
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::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
double t_hmi::HMinus_induc_rec_cooling
double t_hmi::HMinus_induc_rec_rate
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
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().

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
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
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().


The documentation for this struct was generated from the following files: