Cloudy
Spectral Synthesis Code for Astrophysics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
hmi.h
Go to the documentation of this file.
1 /* This file is part of Cloudy and is copyright (C)1978-2023 by Gary J. Ferland and
2  * others. For conditions of distribution and use see copyright notice in license.txt */
3 
4 #ifndef HMI_H_
5 #define HMI_H_
6 
7 #include "module.h"
8 
12 double hmirat(double te);
13 
15 struct t_hmi : public module {
16  const char *chName() const
17  {
18  return "hmi";
19  }
20 
21  void zero();
22  void comment(t_warnings&) {}
23 
25  double H2_total;
26  realnum H2_total_f; // single-precision version of above
27  double HD_total;
28 
31 
33  double hmihet,
34  hmitot,
35  hmicol;
36 
39 
42  double hmidep,
43  h2dep,
44  h2pdep,
45  h3pdep;
46 
51 
54 
55  realnum
60  h2dfrc,
61  h2dtot,
64 
68 
69  long int iheh1,
70  iheh2;
71 
78 
86 
89 
92 
95 
98 
101 
108 
114 
125 
126 
128  long int iphmin;
129 
132 
136 
137  double
138 
145 
153 
155  realnum
161 
168 
176 
180 
183 
185  char chJura;
186 
190 
193 
197 
199  double exphmi,
217 
221 
222 };
223 extern t_hmi hmi;
224 
225 #endif /* HMI_H_ */
long int iphmin
Definition: hmi.h:128
realnum h2line_cool_frac
Definition: hmi.h:57
Definition: warnings.h:11
double hmicol
Definition: hmi.h:33
double hmirat(double te)
Definition: mole_reactions.cpp:1658
realnum h2dtot
Definition: hmi.h:57
double H2_Solomon_dissoc_rate_used_H2g
Definition: hmi.h:103
char chGrainFormPump
Definition: hmi.h:182
double HMinus_photo_rate
Definition: hmi.h:53
long int iheh1
Definition: hmi.h:69
double hmihet
Definition: hmi.h:33
double hmitot
Definition: hmi.h:33
double H2_photodissoc_ELWERT_H2s
Definition: hmi.h:122
bool lgH2_Chemistry_BigH2
Definition: hmi.h:171
double H2_H2g_to_H2s_rate_used
Definition: hmi.h:100
realnum UV_Cont_rel2_Draine_DB96_face
Definition: hmi.h:84
bool lgLeiden_Keep_ipMH2s
Definition: hmi.h:219
double H2star_forms_grains
Definition: hmi.h:164
double HeatH2Dish_BD96
Definition: hmi.h:140
double H2_rate_destroy
Definition: hmi.h:30
double H2_H2g_to_H2s_rate_BHT90
Definition: hmi.h:91
double H2_forms_grains
Definition: hmi.h:164
double H2_photodissoc_used_H2s
Definition: hmi.h:120
double H2_Solomon_dissoc_rate_TH85_H2s
Definition: hmi.h:110
double H2_photodissoc_BHT90
Definition: hmi.h:124
double H2_forms_hminus
Definition: hmi.h:164
double H2_photodissoc_TH85
Definition: hmi.h:123
double H2_Solomon_dissoc_rate_BD96_H2g
Definition: hmi.h:106
t_hmi hmi
Definition: hmi.cpp:5
double H2_Solomon_dissoc_rate_ELWERT_H2s
Definition: hmi.h:113
double H2_H2g_to_H2s_rate_ELWERT
Definition: hmi.h:97
double h2plus_heat
Definition: hmi.h:48
double HeatH2Dexc_used
Definition: hmi.h:140
double HeatH2Dish_TH85
Definition: hmi.h:140
double rate_h2_form_grains_set
Definition: hmi.h:192
double H2_Solomon_dissoc_rate_BD96_H2s
Definition: hmi.h:112
char chJura
Definition: hmi.h:185
realnum Tad
Definition: hmi.h:135
realnum deriv_HeatH2Dexc_ELWERT
Definition: hmi.h:156
void zero()
Definition: hmi.cpp:7
double H2_Solomon_dissoc_rate_TH85_H2g
Definition: hmi.h:104
double HMinus_photo_heat
Definition: hmi.h:65
double H2_Solomon_dissoc_rate_BHT90_H2g
Definition: hmi.h:105
realnum deriv_HeatH2Dexc_TH85
Definition: hmi.h:156
double rel_pop_LTE_H2s
Definition: hmi.h:199
double H2_Solomon_dissoc_rate_used_H2s
Definition: hmi.h:109
double H2_photodissoc_ELWERT_H2g
Definition: hmi.h:121
double H2_frac_abund_set
Definition: hmi.h:196
double HeatH2Dish_used
Definition: hmi.h:140
realnum deriv_HeatH2Dexc_BD96
Definition: hmi.h:156
double h2plus_heatcoef
Definition: hmi.h:48
double H2_H2g_to_H2s_rate_BD96
Definition: hmi.h:94
float realnum
Definition: cddefines.h:127
double exphmi
Definition: hmi.h:199
double HD_total
Definition: hmi.h:27
const char * chName() const
Definition: hmi.h:16
double rel_pop_LTE_Hmin
Definition: hmi.h:199
double H2_Solomon_dissoc_rate_BHT90_H2s
Definition: hmi.h:111
double HeatH2Dexc_TH85
Definition: hmi.h:140
double HeatH2Dexc_BHT90
Definition: hmi.h:140
Definition: hmi.h:15
double h3pdep
Definition: hmi.h:42
realnum UV_Cont_rel2_Habing_TH85_face
Definition: hmi.h:74
double H2_photodissoc_used_H2g
Definition: hmi.h:119
double h2dep
Definition: hmi.h:42
void comment(t_warnings &)
Definition: hmi.h:22
bool lgLeidenCRHack
Definition: hmi.h:220
realnum UV_Cont_rel2_Draine_DB96_depth
Definition: hmi.h:84
realnum HeatH2DexcMax
Definition: hmi.h:57
double HeatH2Dish_ELWERT
Definition: hmi.h:140
double rel_pop_LTE_H2p
Definition: hmi.h:211
double h2pdep
Definition: hmi.h:42
double HeatH2Dish_BHT90
Definition: hmi.h:140
char chH2_small_model_type
Definition: hmi.h:179
realnum deriv_HeatH2Dexc_BHT90
Definition: hmi.h:156
double rel_pop_LTE_H2g
Definition: hmi.h:211
double hmidep
Definition: hmi.h:42
realnum UV_Cont_rel2_Habing_spec_depth
Definition: hmi.h:74
bool lgH2_Thermal_BigH2
Definition: hmi.h:171
double H2_total
Definition: hmi.h:25
realnum H2_total_f
Definition: hmi.h:26
realnum UV_Cont_rel2_Habing_TH85_depth
Definition: hmi.h:74
double HeatH2Dexc_ELWERT
Definition: hmi.h:140
realnum ScaleJura
Definition: hmi.h:189
realnum deriv_HeatH2Dexc_used
Definition: hmi.h:156
double H2_H2g_to_H2s_rate_TH85
Definition: hmi.h:88
long int iheh2
Definition: hmi.h:69
realnum H2Opacity
Definition: hmi.h:38
double H2_Solomon_dissoc_rate_ELWERT_H2g
Definition: hmi.h:107
double HMinus_induc_rec_rate
Definition: hmi.h:65
double rel_pop_LTE_H3p
Definition: hmi.h:211
realnum h2dfrc
Definition: hmi.h:57
Definition: module.h:26
realnum h2pmax
Definition: hmi.h:131
double HeatH2Dexc_BD96
Definition: hmi.h:140
double h2plus_exc_frac
Definition: hmi.h:50
double HMinus_induc_rec_cooling
Definition: hmi.h:65
double H2star_forms_hminus
Definition: hmi.h:164
realnum CoolH2DexcMax
Definition: hmi.h:57