cloudy
trunk
Main Page
Related Pages
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
source
hmi.h
Go to the documentation of this file.
1
/* This file is part of Cloudy and is copyright (C)1978-2008 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
8
void
hmole
(
void
);
9
11
void
hmole_reactions
(
void
);
12
14
void
hmole_init
(
void
);
15
19
double
hmirat
(
double
te);
20
25
void
hmole_step
(
int
*nFixup,
double
*error);
26
28
EXTERN
struct
t_hmi
{
29
31
realnum
Hmolec
[
N_H_MOLEC
];
32
int
nProton
[
N_H_MOLEC
];
33
int
nElectron
[
N_H_MOLEC
];
34
36
double
H2_BigH2_H2g_av
;
37
double
H2_BigH2_H2s_av
;
38
40
double
H2_chem_BigH2_H2g
;
41
double
H2_chem_BigH2_H2s
;
42
44
char
chLab
[
N_H_MOLEC
][5];
45
47
double
assoc_detach
;
48
50
double
bh2h2p
;
51
54
double
rate_grain_h2_J1_to_J0
,
55
rate_grain_h2_op_conserve
;
56
58
realnum
H2_total
;
59
realnum
H2_total_BigH2
;
60
realnum
H2s_BigH2
;
61
realnum
H2g_BigH2
;
62
63
65
double
H2_rate_destroy
;
66
68
double
Average_A
;
69
double
h2s_sp_decay
;
70
72
double
Average_collH2_deexcit
;
73
double
Average_collH_deexcit
;
74
double
Average_collH2_excit
;
75
double
Average_collH_excit
;
76
78
double
Average_collH2s_dissoc
;
79
double
Average_collH2g_dissoc
;
80
82
double
hmihet
,
83
hmitot
,
84
hmicol
;
85
87
realnum
H2Opacity
;
88
91
double
hmidep
,
92
h2dep
,
93
h2pdep
,
94
h3pdep
;
95
97
double
h2plus_heat
;
98
100
double
HMinus_photo_rate
;
101
102
realnum
104
HeatH2DexcMax
,
106
CoolH2DexcMax
,
107
h2dfrc
,
108
h2dtot
,
110
h2line_cool_frac
;
111
112
double
HMinus_induc_rec_cooling
,
113
HMinus_induc_rec_rate
,
114
HMinus_photo_heat
,
115
hminus_rad_attach
;
116
117
long
int
iheh1
,
118
iheh2
;
119
121
realnum
rh2dis
;
122
124
realnum
HalphaHmin
;
125
127
realnum
BiggestH2
;
128
131
realnum
UV_Cont_rel2_Habing_TH85_face
,
132
UV_Cont_rel2_Habing_TH85_depth
,
134
UV_Cont_rel2_Habing_spec_depth
;
135
141
realnum
UV_Cont_rel2_Draine_DB96_face
,
142
UV_Cont_rel2_Draine_DB96_depth
;
143
145
double
H2_H2g_to_H2s_rate_TH85
;
146
148
double
H2_H2g_to_H2s_rate_BHT90
;
149
151
double
H2_H2g_to_H2s_rate_BD96
;
152
154
double
H2_H2g_to_H2s_rate_ELWERT
;
155
157
double
H2_H2g_to_H2s_rate_BigH2
;
158
160
double
H2_H2g_to_H2s_rate_used
;
161
163
double
H2_Solomon_dissoc_rate_used_H2g
;
164
double
H2_Solomon_dissoc_rate_BigH2_H2g
;
165
double
H2_Solomon_dissoc_rate_TH85_H2g
;
166
double
H2_Solomon_dissoc_rate_BHT90_H2g
;
167
double
H2_Solomon_dissoc_rate_BD96_H2g
;
168
double
H2_Solomon_dissoc_rate_ELWERT_H2g
;
169
170
double
H2_Solomon_dissoc_rate_used_H2s
;
171
double
H2_Solomon_dissoc_rate_BigH2_H2s
;
172
double
H2_Solomon_dissoc_rate_TH85_H2s
;
173
double
H2_Solomon_dissoc_rate_BHT90_H2s
;
174
double
H2_Solomon_dissoc_rate_BD96_H2s
;
175
double
H2_Solomon_dissoc_rate_ELWERT_H2s
;
176
181
double
H2_photodissoc_used_H2g
;
182
double
H2_photodissoc_used_H2s
;
183
double
H2_photodissoc_BigH2_H2s
;
184
double
H2_photodissoc_BigH2_H2g
;
185
double
H2_photodissoc_ELWERT_H2g
;
186
double
H2_photodissoc_ELWERT_H2s
;
187
double
H2_photodissoc_TH85
;
188
double
H2_photodissoc_BHT90
;
189
191
double
H2_Solomon_elec_decay_H2g
,
192
H2_Solomon_elec_decay_H2s
;
193
196
double
H2_tripletdissoc_H2s
,
197
H2_tripletdissoc_H2g
;
198
201
bool
lgBigH2_evaluated
;
202
204
long
int
iphmin
;
205
207
realnum
h2pmax
;
208
211
realnum
Tad
;
212
213
double
214
216
HeatH2Dish_used
,
217
HeatH2Dish_BigH2
,
218
HeatH2Dish_TH85
,
219
HeatH2Dish_BD96
,
220
HeatH2Dish_BHT90
,
221
HeatH2Dish_ELWERT
,
222
225
HeatH2Dexc_used
,
226
HeatH2Dexc_BigH2
,
227
HeatH2Dexc_TH85
,
228
HeatH2Dexc_BD96
,
229
HeatH2Dexc_BHT90
,
230
HeatH2Dexc_ELWERT
;
231
233
realnum
234
deriv_HeatH2Dexc_used
,
235
deriv_HeatH2Dexc_BigH2
,
236
deriv_HeatH2Dexc_TH85
,
237
deriv_HeatH2Dexc_BD96
,
238
deriv_HeatH2Dexc_BHT90
,
239
deriv_HeatH2Dexc_ELWERT
;
240
243
realnum
H2_forms_grains
,
244
H2_forms_hminus
,
245
H2star_forms_grains
,
246
H2star_forms_hminus
;
247
250
bool
lgH2_Thermal_BigH2
,
254
lgH2_Chemistry_BigH2
;
255
257
bool
lgNoH2Mole
;
258
261
char
chH2_small_model_type
;
262
264
char
chGrainFormPump
;
265
267
char
chJura
;
268
271
realnum
ScaleJura
;
272
274
double
rate_h2_form_grains_set
;
275
278
double
H2_frac_abund_set
;
279
283
realnum
rheph2hpheh
,
284
heph2heh2p
;
285
287
realnum
hmin_ct_firstions
;
288
290
double
exphmi
,
296
rel_pop_LTE_Hmin
,
299
rel_pop_LTE_H2s
;
302
double
rel_pop_LTE_H2p
,
305
rel_pop_LTE_H2g
,
307
rel_pop_LTE_H3p
,
309
H2g_LTE_bigH2
,
310
H2s_LTE_bigH2
;
311
313
bool
lgLeiden_Keep_ipMH2s
;
314
bool
lgLeidenCRHack
;
315
318
double
assoc_detach_backwards_grnd
,
319
assoc_detach_backwards_exct
,
320
bh2h22hh2
,
321
h3phmh2hh
,
322
h3phm2h2
,
323
h32h2
,
324
eh3_h2h
,
325
h3ph2hp
,
326
h2sh
,
327
CR_reac_H2g
,
328
CR_reac_H2s
,
329
h2phmh2h
,
330
hehph2h3phe
,
331
h2ph3p
,
332
h2sh2g
,
333
h2h22hh2
,
334
h2sh2sh2g2h
,
335
h2sh2sh2s2h
,
336
H2_photoionize_rate
,
337
H2_photo_heat_soft
,
338
H2_photo_heat_hard
,
339
rh2h2p
,
340
eh2hh
,
341
h2ge2h
,
342
h2se2h
,
343
h2hph3p
,
344
bh2dis
,
345
radasc
,
346
h3ph2p
,
347
h3petc
,
349
H2_rate_create
;
350
351
}
hmi
;
352
354
enum
{
355
ipMH
,
356
ipMHp
,
357
ipMHm
,
358
ipMH2g
,
359
ipMH2p
,
360
ipMH3p
,
361
ipMH2s
,
362
ipMHeHp
363
};
364
365
366
#endif
/* _HMI_H_ */
Generated for cloudy by
1.8.3.1