Cloudy
Spectral Synthesis Code for Astrophysics
Loading...
Searching...
No Matches
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

◆ chName()

const char * t_hmi::chName ( ) const
inlinevirtual

Implements module.

◆ comment()

void t_hmi::comment ( t_warnings & )
inlinevirtual

Implements module.

◆ zero()

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

◆ chGrainFormPump

char t_hmi::chGrainFormPump

method used for grain formation pumping

Referenced by zero().

◆ chH2_small_model_type

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

◆ chJura

char t_hmi::chJura

the set h2 jura command tells code which treatment of H2 formation to use

Referenced by zero().

◆ CoolH2DexcMax

realnum t_hmi::CoolH2DexcMax

the largest fraction of total cooling anywhere in model

Referenced by zero().

◆ deriv_HeatH2Dexc_BD96

realnum t_hmi::deriv_HeatH2Dexc_BD96

Referenced by zero().

◆ deriv_HeatH2Dexc_BHT90

realnum t_hmi::deriv_HeatH2Dexc_BHT90

Referenced by zero().

◆ deriv_HeatH2Dexc_ELWERT

realnum t_hmi::deriv_HeatH2Dexc_ELWERT

Referenced by zero().

◆ deriv_HeatH2Dexc_TH85

realnum t_hmi::deriv_HeatH2Dexc_TH85

Referenced by zero().

◆ deriv_HeatH2Dexc_used

realnum t_hmi::deriv_HeatH2Dexc_used

these are derivative wrt temp for collisional processes within X

Referenced by zero().

◆ exphmi

double t_hmi::exphmi

Boltzmann factor for hmi

◆ H2_forms_grains

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

◆ H2_forms_hminus

double t_hmi::H2_forms_hminus

◆ H2_frac_abund_set

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

◆ H2_H2g_to_H2s_rate_BD96

double t_hmi::H2_H2g_to_H2s_rate_BD96

the Solomon process excitation, H2g -> H2*, rate for the Bertodi & Draine model

◆ H2_H2g_to_H2s_rate_BHT90

double t_hmi::H2_H2g_to_H2s_rate_BHT90

the Solomon process excitation, H2g -> H2*, rate from Burton et al. 1990

◆ H2_H2g_to_H2s_rate_ELWERT

double t_hmi::H2_H2g_to_H2s_rate_ELWERT

the Solomon process excitation, H2g -> H2*, rate for Elwert et al. model in prep.

◆ H2_H2g_to_H2s_rate_TH85

double t_hmi::H2_H2g_to_H2s_rate_TH85

the Solomon process excitation, H2g -> H2*, rate from Tielens & Hollenbach 85

◆ H2_H2g_to_H2s_rate_used

double t_hmi::H2_H2g_to_H2s_rate_used

the Solomon process excitation, H2g -> H2*, - actually used

◆ H2_photodissoc_BHT90

double t_hmi::H2_photodissoc_BHT90

Referenced by zero().

◆ H2_photodissoc_ELWERT_H2g

double t_hmi::H2_photodissoc_ELWERT_H2g

Referenced by zero().

◆ H2_photodissoc_ELWERT_H2s

double t_hmi::H2_photodissoc_ELWERT_H2s

Referenced by zero().

◆ H2_photodissoc_TH85

double t_hmi::H2_photodissoc_TH85

Referenced by zero().

◆ H2_photodissoc_used_H2g

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

◆ H2_photodissoc_used_H2s

double t_hmi::H2_photodissoc_used_H2s

Referenced by zero().

◆ H2_rate_destroy

double t_hmi::H2_rate_destroy

rate ground of H2 is destroyed

◆ H2_Solomon_dissoc_rate_BD96_H2g

double t_hmi::H2_Solomon_dissoc_rate_BD96_H2g

Referenced by zero().

◆ H2_Solomon_dissoc_rate_BD96_H2s

double t_hmi::H2_Solomon_dissoc_rate_BD96_H2s

Referenced by zero().

◆ H2_Solomon_dissoc_rate_BHT90_H2g

double t_hmi::H2_Solomon_dissoc_rate_BHT90_H2g

Referenced by zero().

◆ H2_Solomon_dissoc_rate_BHT90_H2s

double t_hmi::H2_Solomon_dissoc_rate_BHT90_H2s

Referenced by zero().

◆ H2_Solomon_dissoc_rate_ELWERT_H2g

double t_hmi::H2_Solomon_dissoc_rate_ELWERT_H2g

Referenced by zero().

◆ H2_Solomon_dissoc_rate_ELWERT_H2s

double t_hmi::H2_Solomon_dissoc_rate_ELWERT_H2s

Referenced by zero().

◆ H2_Solomon_dissoc_rate_TH85_H2g

double t_hmi::H2_Solomon_dissoc_rate_TH85_H2g

Referenced by zero().

◆ H2_Solomon_dissoc_rate_TH85_H2s

double t_hmi::H2_Solomon_dissoc_rate_TH85_H2s

Referenced by zero().

◆ H2_Solomon_dissoc_rate_used_H2g

double t_hmi::H2_Solomon_dissoc_rate_used_H2g

the Solomon process dissociate rate from Tielens & Hollenbach 85

Referenced by zero().

◆ H2_Solomon_dissoc_rate_used_H2s

double t_hmi::H2_Solomon_dissoc_rate_used_H2s

Referenced by zero().

◆ H2_total

double t_hmi::H2_total

the total H2 density [cm-3], NOT 2*n(H2), the sum of H2 and H2*

Referenced by zero().

◆ H2_total_f

realnum t_hmi::H2_total_f

Referenced by zero().

◆ h2dep

double t_hmi::h2dep

Referenced by zero().

◆ h2dfrc

realnum t_hmi::h2dfrc

◆ h2dtot

realnum t_hmi::h2dtot

◆ h2line_cool_frac

realnum t_hmi::h2line_cool_frac

fraqction of cooling carried by H2 lines

◆ H2Opacity

realnum t_hmi::H2Opacity

mean cross section (cm-2) for H2 Lyman absorption

Referenced by zero().

◆ h2pdep

double t_hmi::h2pdep

Referenced by zero().

◆ h2plus_exc_frac

double t_hmi::h2plus_exc_frac

fraction of H2+ in excited states

Referenced by zero().

◆ h2plus_heat

double t_hmi::h2plus_heat

Referenced by zero().

◆ h2plus_heatcoef

double t_hmi::h2plus_heatcoef

heating due to photo dissoc of H2+

Referenced by zero().

◆ h2pmax

realnum t_hmi::h2pmax

largest local fraction heating due to dissoc of H2+

◆ H2star_forms_grains

double t_hmi::H2star_forms_grains

◆ H2star_forms_hminus

double t_hmi::H2star_forms_hminus

◆ h3pdep

double t_hmi::h3pdep

Referenced by zero().

◆ HD_total

double t_hmi::HD_total

Referenced by zero().

◆ HeatH2Dexc_BD96

double t_hmi::HeatH2Dexc_BD96

Referenced by zero().

◆ HeatH2Dexc_BHT90

double t_hmi::HeatH2Dexc_BHT90

Referenced by zero().

◆ HeatH2Dexc_ELWERT

double t_hmi::HeatH2Dexc_ELWERT

Referenced by zero().

◆ HeatH2Dexc_TH85

double t_hmi::HeatH2Dexc_TH85

Referenced by zero().

◆ HeatH2Dexc_used

double t_hmi::HeatH2Dexc_used

HeatH2Dexc_used is heating due to collisional deexcitation of vib-excited H2 actually used

Referenced by zero().

◆ HeatH2DexcMax

realnum t_hmi::HeatH2DexcMax

the largest fraction of total heat anywhere in model

Referenced by zero().

◆ HeatH2Dish_BD96

double t_hmi::HeatH2Dish_BD96

Referenced by zero().

◆ HeatH2Dish_BHT90

double t_hmi::HeatH2Dish_BHT90

Referenced by zero().

◆ HeatH2Dish_ELWERT

double t_hmi::HeatH2Dish_ELWERT

Referenced by zero().

◆ HeatH2Dish_TH85

double t_hmi::HeatH2Dish_TH85

Referenced by zero().

◆ HeatH2Dish_used

double t_hmi::HeatH2Dish_used

HeatH2Dish_used is heating due to H2 dissociation actually used

Referenced by zero().

◆ hmicol

double t_hmi::hmicol

◆ hmidep

double t_hmi::hmidep

these are departure coef for H-, H2, H2+, and HeH, defined in hmole

Referenced by zero().

◆ hmihet

double t_hmi::hmihet

hminus heating, free bound

Referenced by zero().

◆ HMinus_induc_rec_cooling

double t_hmi::HMinus_induc_rec_cooling

◆ HMinus_induc_rec_rate

double t_hmi::HMinus_induc_rec_rate

◆ HMinus_photo_heat

double t_hmi::HMinus_photo_heat

◆ HMinus_photo_rate

double t_hmi::HMinus_photo_rate

H- photo dissoc rate

◆ hmitot

double t_hmi::hmitot

Referenced by zero().

◆ iheh1

long int t_hmi::iheh1

◆ iheh2

long int t_hmi::iheh2

◆ iphmin

long int t_hmi::iphmin

continuum array index for H minus threshold

◆ lgH2_Chemistry_BigH2

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

◆ lgH2_Thermal_BigH2

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

◆ lgLeiden_Keep_ipMH2s

bool t_hmi::lgLeiden_Keep_ipMH2s

hack to kill effects of H2* in chemistry network "set leiden hack h2* off

Referenced by zero().

◆ lgLeidenCRHack

bool t_hmi::lgLeidenCRHack

Referenced by zero().

◆ rate_h2_form_grains_set

double t_hmi::rate_h2_form_grains_set

H2 formation rate as set with set h2 rate command units S^-1, actual depl

◆ rel_pop_LTE_H2g

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

◆ rel_pop_LTE_H2p

double t_hmi::rel_pop_LTE_H2p

LTE population for H2+, following is n(H2+) / [n(H) n(p) ], units cm3

◆ rel_pop_LTE_H2s

double t_hmi::rel_pop_LTE_H2s

related to the LTE population of H2s, following is
n(H2s) / [n(H) n(H) ], units cm3

◆ rel_pop_LTE_H3p

double t_hmi::rel_pop_LTE_H3p

related to population of H3+

◆ rel_pop_LTE_Hmin

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

◆ ScaleJura

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

◆ Tad

realnum t_hmi::Tad

binding energy for change in H2 population while on grain surface, set with "set h2 Tad " command

Referenced by zero().

◆ UV_Cont_rel2_Draine_DB96_depth

realnum t_hmi::UV_Cont_rel2_Draine_DB96_depth

Referenced by zero().

◆ UV_Cont_rel2_Draine_DB96_face

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

◆ UV_Cont_rel2_Habing_spec_depth

realnum t_hmi::UV_Cont_rel2_Habing_spec_depth

the special version of g0 with adjustable bounds

◆ UV_Cont_rel2_Habing_TH85_depth

realnum t_hmi::UV_Cont_rel2_Habing_TH85_depth

Referenced by zero().

◆ UV_Cont_rel2_Habing_TH85_face

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


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