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
rfield.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 _RFIELD_H_
5
#define _RFIELD_H_
6
7
/* rfield.h */
8
10
#define WL_V_FILT 5500.
11
13
#define WL_B_FILT 4400.
14
16
void
rfield_opac_zero
(
long
lo ,
long
ihi );
17
19
extern
bool
lgRfieldMalloced
;
20
21
EXTERN
struct
t_rfield
{
22
31
long
int
nflux
;
32
34
long
int
nupper
;
35
37
realnum
emm
;
38
40
realnum
egamry
;
41
43
realnum
FluxFaint
;
44
46
realnum
*
anu
;
47
50
realnum
*
AnuOrg
;
51
53
realnum
*
widflx
;
54
56
long
int
*
line_count
;
57
59
realnum
*
OccNumbBremsCont
;
60
62
realnum
*
OccNumbContEmitOut
;
63
65
realnum
*
anulog
,
66
*
anusqr
,
67
*
anu2
,
68
*
anu3
;
69
74
realnum
*
flux
;
75
77
realnum
*
flux_isotropic
;
78
80
realnum
*
flux_beam_time
, *
flux_beam_const
;
81
83
realnum
*
flux_accum
;
84
88
bool
lgMustBlockHIon
;
89
90
/* this is set true if H-ionizing radiation is blocked with extinguish
91
* command */
92
bool
lgBlockHIon
;
93
95
bool
lgDoLineTrans
;
96
99
bool
lgOpacityReevaluate
;
100
102
bool
lgCMB_set
;
103
106
bool
lgIonizReevaluate
;
107
109
realnum
*
convoc
;
110
113
realnum
*
OccNumbIncidCont
;
114
116
realnum
*
OccNumbDiffCont
;
117
120
double
*
ContBoltz
;
121
124
realnum
**
ConEmitLocal
/* [depth][energy]*/
;
125
127
realnum
*
ConEmitReflec
;
128
132
realnum
*
ConEmitOut
;
133
135
realnum
*
ConInterOut
;
136
138
realnum
*
ConRefIncid
;
139
142
realnum
*
SummedCon
;
143
realnum
*
SummedDif
;
144
realnum
*
SummedOcc
;
145
realnum
*
SummedDifSave
;
146
149
realnum
*
ConOTS_local_photons
,
151
*
ConOTS_local_OTS_rate
;
152
154
realnum
*
TotDiff2Pht
;
155
158
realnum
160
*
otslin
/*[NC_ELL]*/
,
162
*
otscon
/*[NC_ELL]*/
,
163
166
*
otslinNew
/*[NC_ELL]*/
,
167
*
otsconNew
/*[NC_ELL]*/
,
168
**
otssav
/*[NC_ELL][2]*/
;
169
171
realnum
*
outlin
,
172
*
outlin_noplot
;
173
175
realnum
*
reflin
/*[NC_ELL]*/
;
176
178
realnum
*
flux_total_incident
;
179
realnum
*
flux_beam_const_save
, *
flux_time_beam_save
, *
flux_isotropic_save
;
180
182
realnum
time_continuum_scale
;
183
186
realnum
DiffPumpOn
;
187
189
char
**
chLineLabel
/*[NC_ELL][5]*/
;
190
192
char
**
chContLabel
/*[NC_ELL][5]*/
;
193
196
realnum
**
gff
/*[LIMELM][NC_ELL]*/
;
197
201
bool
lgCompileGauntFF
;
202
205
char
chDffTrns
[4];
206
210
bool
lgOutOnly
;
211
214
long
int
ipEnergyBremsThin
;
215
realnum
EnergyBremsThin
;
216
218
long
int
ipMaxBolt
;
219
221
bool
lgInducProcess
;
222
224
double
*
comup
,
225
*
comdn
;
226
228
long
int
ipB_filter
,
ipV_filter
;
229
232
long
int
ipG0_TH85_lo
,
ipG0_TH85_hi
;
233
236
long
int
ipG0_DB96_lo
,
ipG0_DB96_hi
;
237
239
long
int
ipG0_spec_lo
,
ipG0_spec_hi
;
240
242
long
int
ip1000A
;
243
246
double
extin_mag_B_point
,
extin_mag_V_point
;
247
250
double
extin_mag_B_extended
,
extin_mag_V_extended
;
251
253
double
opac_mag_B_point
,
opac_mag_V_point
,
opac_mag_B_extended
,
opac_mag_V_extended
;
254
257
realnum
*
csigh
,
258
*
csigc
;
259
260
double
comtot
,
261
cmheat
,
262
cmcool
,
263
comoff
,
264
cinrat
;
265
267
bool
lgComUndr
;
268
271
# define LIMSPC 100
272
274
# define NCELL 130000
275
276
double
totpow
[
LIMSPC
],
277
slope
[
LIMSPC
],
278
cutoff
[
LIMSPC
][3],
279
spfac
[
LIMSPC
];
280
282
bool
lgTimeVary
[
LIMSPC
];
283
284
/* beamed or isotropic continuum? if isotropic then does not vary
285
* with time */
286
bool
lgBeamed
[
LIMSPC
];
287
288
long
int
nspec
,
289
ipspec
;
290
297
realnum
**
tNuRyd
,
298
**
tslop
,
300
**
tFluxLog
;
301
304
int
*
lgContMalloc
;
305
308
double
range
[
LIMSPC
][2];
309
311
realnum
*
ConTabRead
;
312
315
char
chSpNorm
[
LIMSPC
][5],
316
chRSpec
[
LIMSPC
][5],
317
chSpType
[
LIMSPC
][6];
318
320
string
ioTableRead
[
LIMSPC
];
321
323
realnum
qhtot
,
324
qhe
,
325
qheii
,
326
qbal
,
327
qrad
,
328
qtot
;
329
331
realnum
uh
;
332
334
realnum
uheii
;
335
337
bool
lgUSphON
;
339
realnum
rstrom
;
340
343
bool
lgHabing
;
344
352
long
int
fine_opac_nelem
;
353
355
long
int
fine_opac_nresolv
;
356
358
realnum
fine_opac_velocity_width
;
359
362
realnum
*
trans_coef_zone
;
364
realnum
*
trans_coef_total
;
365
368
long
int
*
ipnt_coarse_2_fine
;
369
371
realnum
fine_ener_lo
,
fine_ener_hi
;
373
long
nfine
;
375
long
nfine_malloc
;
377
double
fine_resol
;
379
realnum
*
fine_opac_zone
;
381
realnum
*
fine_opt_depth
;
383
realnum
*
fine_anu
;
384
389
long
int
ipFineConVelShift
;
390
392
bool
lgOpacityFine
;
394
bool
lgPunchOpacityFine
;
395
397
bool
lgFine_opac_update
;
398
401
bool
lgLyaOTS
;
402
405
bool
lgHeIIOTS
;
406
408
bool
lgKillOutLine
;
409
411
bool
lgKillOutCont
;
412
414
bool
lgKillOTSLine
;
415
417
bool
lgTableRead
;
418
422
bool
lgPlasNu
;
424
realnum
plsfrq
,
426
plsfrqmax
;
428
long
int
ipPlasma
,
430
ipPlasmax
;
431
434
bool
lgMMok
,
435
lgHPhtOK
,
436
lgXRayOK
,
437
lgGamrOK
;
438
440
realnum
EnerGammaRay
;
441
long
int
ipEnerGammaRay
;
442
444
bool
lgHionRad
;
445
447
realnum
occmax
,
448
occmnu
,
449
tbrmax
,
450
tbrmnu
,
451
tbr4nu
,
452
occ1nu
;
453
455
bool
lgOcc1Hi
;
456
457
}
rfield
;
458
459
460
#endif
/* _RFIELD_H_ */
Generated for cloudy by
1.8.1.2