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
ionbal.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 _IONBAL_H_
5
#define _IONBAL_H_
6
7
10
void
ion_recom_calculate
(
void
);
11
15
void
ion_trim
(
16
long
int
nelem );
17
19
void
ion_zero
(
long
int
nelem);
20
24
void
ion_collis
(
25
long
nelem);
26
31
void
ion_solver
(
long
int
nelem,
32
bool
lgPrintIt);
33
38
void
ion_photo
(
39
long
int
nelem ,
40
bool
lgPrintIt );
41
43
void
ion_recomb
(
bool
,
const
double
*,
const
double
*,
const
double
[],
const
double
[],
44
const
double
[],
const
double
[],
const
double
[],
const
double
[],
long
);
45
47
void
ion_recombAGN
( FILE * io );
48
52
void
Badnell_rec_init
(
void
);
53
54
/* routines to do heavy element ionization balance */
55
void
IonAlumi
(
void
);
56
void
IonArgon
(
void
);
57
void
IonBeryl
(
void
);
58
void
IonBoron
(
void
);
59
void
IonCalci
(
void
);
60
void
IonCarbo
(
void
);
61
void
IonChlor
(
void
);
62
void
IonChrom
(
void
);
63
void
IonCobal
(
void
);
64
void
IonCoppe
(
void
);
65
void
IonFluor
(
void
);
66
void
IonHelium
(
void
);
67
void
IonIron
(
void
);
68
void
IonLithi
(
void
);
69
void
IonMagne
(
void
);
70
void
IonManga
(
void
);
71
void
IonNeon
(
void
);
72
void
IonNicke
(
void
);
73
void
IonNitro
(
void
);
74
void
IonOxyge
(
void
);
75
void
IonPhosi
(
void
);
76
void
IonPotas
(
void
);
77
void
IonScand
(
void
);
78
void
IonSilic
(
void
);
79
void
IonSodiu
(
void
);
80
void
IonSulph
(
void
);
81
void
IonTitan
(
void
);
82
void
IonVanad
(
void
);
83
void
IonZinc
(
void
);
84
86
#define NSHELLS 7
87
89
EXTERN
struct
t_ionbal
{
90
98
double
trimhi
,
99
102
trimlo
;
103
105
bool
lgTrimhiOn
;
106
107
/* ==============================================================
108
* all following deals with ionization processes */
109
121
double
****
PhotoRate_Shell
;
122
126
bool
lgPhotoIoniz_On
;
127
130
bool
lgHO_ct_chem
;
131
134
double
***
CollIonRate_Ground
;
135
137
double
CosRayIonRate
;
138
141
double
CosRayHeatNeutralParticles
;
142
145
double
CosRayHeatThermalElectrons
;
146
148
double
ExtraHeatRate
;
149
152
double
xNeutronHeatRate
;
153
155
double
PairProducPhotoRate
[3];
156
157
/* ==============================================================
158
* following deal with Compton recoil ionization of bound electrons */
159
163
bool
lgCompRecoil
;
164
166
double
CompRecoilHeatLocal
;
167
169
long
int
**
ipCompRecoil
;
170
172
double
**
CompRecoilIonRate
;
173
175
double
**
CompRecoilIonRateSave
;
176
178
double
**
CompRecoilHeatRate
;
179
181
double
**
CompRecoilHeatRateSave
;
182
184
double
**
UTA_ionize_rate
;
186
double
**
UTA_heat_rate
;
187
189
bool
lgInnerShellLine_on
;
191
bool
lgInnerShell_Kisielius
;
194
bool
lgInnerShell_Gu06
;
195
197
double
**
RateIonizTot
;
198
201
long
int
nCompRecoilElec
[
LIMELM
];
202
203
double
CompHeating_Max
;
204
/* ==============================================================
205
* end Compton recoil ionization of bound electrons */
206
207
/* ==============================================================
208
* all following deals with recombination */
209
211
double
**
RateRecomTot
;
212
214
double
**
RR_Badnell_rate_coef
,
215
**
DR_Badnell_rate_coef
,
216
*
DR_Badnell_rate_coef_mean_ion
;
217
219
int
**
lgDR_Badnell_rate_coef_exist
,
220
**
lgRR_Badnell_rate_coef_exist
;
221
223
bool
lg_use_DR_Badnell_rate_coef_mean_ion
;
224
226
bool
lgDR_recom_Badnell_use
,
227
lgRR_recom_Badnell_use
,
229
lgRecom_Badnell_print
;
230
232
double
**
DR_old_rate_coef
;
233
235
double
**
RR_rate_coef_used
,
236
**
DR_rate_coef_used
;
237
239
double
**
RR_Verner_rate_coef
;
240
245
int
nDR_S_guess
;
246
realnum
DR_S_scale
[5];
247
249
realnum
**
GrainCreat
,
250
**
GrainDestr
;
251
252
int
254
lgGrainIonRecom
;
255
258
realnum
DielSupprs
[2][
LIMELM
];
259
261
realnum
lg_guess_coef
;
263
realnum
guess_noise
;
264
267
bool
lgSupDie
[2];
268
271
realnum
GuessDiel
[4];
272
275
bool
lgNoCota
;
276
278
realnum
CotaRate
[
LIMELM
];
279
281
long
int
ilt
,
282
iltln
,
283
ilthn
,
284
ihthn
,
285
ifail
;
286
287
}
ionbal
;
288
289
290
#endif
/* _IONBAL_H_ */
Generated for cloudy by
1.8.1.1