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
opacity.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 _OPACITY_H_
5
#define _OPACITY_H_
6
11
extern
bool
lgOpacMalloced
;
12
14
void
OpacityCreateAll
(
void
);
15
23
void
OpacityAdd1Subshell
(
24
long
int
ipOpac,
25
long
int
ipLowLim,
26
long
int
ipUpLim,
27
realnum
abundance,
28
char
chStat );
29
31
void
OpacityAddTotal
(
void
);
32
37
void
OpacityAdd1Element
(
38
long
int
ipZ);
39
42
void
OpacityZero
(
void
);
43
45
void
OpacityZeroOld
(
void
);
46
55
void
OpacityAdd1SubshellInduc
(
56
long
int
ipOpac,
57
long
int
low,
58
long
int
ihi,
59
double
a,
60
double
b,
61
char
chStat );
62
63
/* limit to number of opacity cells available in the opacity stack
64
#define NOPSV 1300000L*/
65
66
/*lowest level where hydrogenic nu^-3 photo cross sect used*/
67
/*#define NHPLPHOT 400*/
68
69
/* limit to number of cells in frequency array */
70
/* >>chng 00 oct 13, increase from 2000 to 2200 due to increase in FIR resolution */
71
/* >>chng 01 aug 19, increase from 2000 to 4000 due to increase in mid-range resolution */
72
/* >>chng 01 sep 24, get rid of NC ELL from code, totally MALLOC */
73
/*#define NC ELL 4000L*/
74
75
EXTERN
struct
t_opac
{
76
82
realnum
**
TauAbsGeo
;
83
realnum
**
TauScatGeo
;
84
87
realnum
**
TauTotalGeo
;
88
91
realnum
*
TauAbsFace
,
92
*
TauScatFace
;
93
95
double
*
opacity_abs
;
96
98
double
*
opacity_sct
;
99
101
double
*
OldOpacSave
;
102
104
double
*
albedo
;
105
108
double
*
opacity_abs_savzon1
;
110
double
*
opacity_sct_savzon1
;
111
114
double
*
OpacStatic
;
115
117
double
*
FreeFreeOpacity
;
118
120
double
*
ExpZone
;
121
124
realnum
*
E2TauAbsFace
;
126
realnum
*
E2TauAbsTotal
;
127
realnum
*
E2TauAbsOut
;
129
realnum
*
TauAbsTotal
;
130
132
realnum
*
ExpmTau
;
133
136
realnum
*
tmn
;
137
140
bool
lgOpacStatic
;
141
147
bool
lgRedoStatic
;
148
151
double
*
OpacStack
;
152
154
realnum
tpcah
[2];
155
157
realnum
taumin
;
158
161
realnum
tlamin
;
162
164
bool
lgCaseB
;
165
168
bool
lgCaseB_HummerStorey
;
169
172
bool
lgCaseB_no_photo
;
173
175
bool
lgCaseB_no_pdest
;
176
178
realnum
telec
,
179
thmin
;
180
182
bool
lgOpacNeg
;
183
186
bool
lgScatON
;
187
189
bool
lgNegOpacIO
;
190
195
bool
lgCompileOpac
;
196
199
bool
lgUseFileOpac
;
200
204
long
int
nOpacTot
;
205
213
long
int
ipRayScat
,
214
216
iopcom
,
217
219
ippr
,
220
ioppr
,
221
223
ipBrems
,
224
226
iphmra
,
227
229
iphmop
,
230
232
ih2pnt
[2],
233
ih2pof
,
234
236
iophe1
[9],
237
239
ioptri
,
240
272
ipElement
[
LIMELM
][
LIMELM
][7][3],
273
275
in1
[3],
276
278
ipo3exc
[3],
279
ipo3exc3
[3],
280
ipo1exc
[3],
281
283
iopo2d
,
284
286
ipmgex
,
287
ipOpMgEx
,
288
290
ica2ex
[2],
291
ica2op
;
292
294
long
int
ipH2_photo_thresh
,
ipH2_photo_opac_offset
;
295
297
long
int
ipCKshell
;
298
300
realnum
otsmin
;
301
303
realnum
stimax
[2];
304
305
}
opac
;
306
307
308
309
#endif
/* _OPACITY_H_ */
Generated for cloudy by
1.8.1.1