cloudy  trunk
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 
24  long int ipOpac,
25  long int ipLowLim,
26  long int ipUpLim,
27  realnum abundance,
28  char chStat );
29 
31 void OpacityAddTotal(void);
32 
38  long int ipZ);
39 
42 void OpacityZero(void);
43 
45 void OpacityZeroOld(void);
46 
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 
84 
88 
92  *TauScatFace;
93 
95  double *opacity_abs;
96 
98  double *opacity_sct;
99 
101  double *OldOpacSave;
102 
104  double *albedo;
105 
111 
114  double *OpacStatic;
115 
118 
120  double *ExpZone;
121 
130 
133 
137 
141 
147  bool lgRedoStatic;
148 
151  double *OpacStack;
152 
155 
158 
162 
164  bool lgCaseB;
165 
169 
173 
176 
179  thmin;
180 
182  bool lgOpacNeg;
183 
186  bool lgScatON;
187 
190 
196 
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 
295 
297  long int ipCKshell;
298 
301 
304 
305  } opac;
306 
307 
308 
309 #endif /* _OPACITY_H_ */

Generated for cloudy by doxygen 1.8.3.1