cloudy  trunk
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
atomfeii.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 _ATOMFEII_H_
5 #define _ATOMFEII_H_
6 
16 void AssertFeIIDep( double *pred , double *BigError , double *StdDev );
17 
20 void FeIIFillLow16(void);
21 
23 void FeIICreate(void);
25 void FeIIPrint(void);
26 
27 void FeIILevelPops(void);
28 
34 double FeIISumBand(realnum wl1,
35  realnum wl2);
36 
38 void FeII_RT_TauInc(void);
39 
41 void FeII_RT_tau_reset(void);
42 
44 void FeIIPoint(void);
45 
46 
51 void FeIIAccel(double *fe2drive);
52 
53 
59 void FeII_RT_Make( bool lgDoEsc ,
60  bool lgUpdateFineOpac );
61 
63 void FeIIAddLines( void );
64 
68 void FeIIPunchLevels( FILE * ioPUN );
69 
74 void FeIIPunchColden(
75  FILE *ioPUN );
76 
81 void FeII_Colden( const char *chLabel );
82 
83 
87 void FeIIPunchLines( FILE * ioPUN );
88 
92 void FeIIPunchOpticalDepth( FILE * ioPUN );
93 
95 void FeII_LineZero(void);
96 
98 void FeIIIntenZero(void);
99 
101 double FeIIRadPress(void);
102 
106 double FeII_InterEnergy(void);
107 
113 void FeIIPunDepart(FILE* ioPUN ,
114  bool lgDoAll );
115 
116 void PunFeII( FILE * io );
117 
123 void FeIIPun1Depart(FILE * ioPUN , long int nPUN );
129 void FeIIPunData(
130  FILE* ioPUN ,
131  bool lgDoAll );
132 
141 void FeIIPunPop(FILE* ioPUN ,
142  bool lgPunchRange ,
143  long int ipRangeLo ,
144  long int ipRangeHi ,
145  bool lgPunchDensity );
146 
147 
154 void FeIIPunchLineStuff( FILE * io , realnum xLimit , long index);
155 
156 #if 0
157 
163 void FeIIPun1Pop(
164  FILE * ioPUN ,
165  long int nPUN );
166 #endif
167 
169 void FeIIZero(void);
170 
172 void FeIIReset(void);
173 
175 void FeII_OTS(void);
176 
178 void FeII_RT_Out(void);
179 
181 void ParseAtomFeII(char *chCard );
182 
184 #define NFE2LEVN 371
185 
189 extern bool lgFeIIMalloc;
190 
191 EXTERN struct t_FeII {
192 
195  long int nFeIILevel;
197  long int nFeIILevelAlloc;
198 
203 
205  bool lgSlow;
206 
208  bool lgPrint;
209 
212 
214  char chFeIIAtom[7];
215 
218 
222 
226 
229 
233  long int nfe2con;
234 
238 
242  double Fe2_large_cool,
245 
248  double /*Fe2_16levl_cool ,
249  ddT_Fe2_16levl_cool ,*/
252 
254  double fe21308,
255  fe21207,
256  fe21106,
257  fe21006,
258  fe21204,
259  fe21103,
260  fe21104,
261  fe21001,
262  fe21002,
263  fe20201,
264  fe20302,
265  fe20706,
266  fe20807,
267  fe20908,
268  fe21007,
269  fe21107,
270  fe21108,
271  fe21110,
272  fe21507,
273  fe21208,
274  fe21209,
275  fe21211,
276  fe21406,
277  fe21508,
278  fe21609;
280  double
282  fe27to7 ,
283  fe28to8 ,
284  fe29to9 ,
285  fe32to6 ,
286  fe33to7 ,
287  fe37to7 ,
288  fe39to8 ,
289  fe40to9 ,
290  fe37to6 ,
291  fe39to7 ,
292  fe40to8 ,
293  fe41to9 ,
294  fe39to6 ,
295  fe40to7 ,
296  fe42to7 ,
297  fe41to8 ,
298  fe42to6 ,
299  fe43to7 ,
300  fe36to2 ,
301  fe36to3 ,
302  fe32to1 ,
303  fe33to2 ,
304  fe36to5 ,
305  fe32to2 ,
306  fe33to3 ,
307  fe30to3 ,
308  fe33to6 ,
309  fe24to2 ,
310  fe32to7 ,
311  fe35to8 ,
312  fe34to8 ,
313  fe27to6 ,
314  fe28to7 ,
315  fe30to8 ,
316  fe24to6 ,
317  fe29to8 ,
318  fe24to7 ,
319  fe22to7 ,
320  fe38to11 ,
321  fe19to8 ,
322  fe17to6 ,
323  fe18to7 ,
324  fe18to8 ,
325  fe80to28 ,
326  fe17to7 ,
327  for7;
328 
329  } FeII;
330 
331  /* this info used to estimate destruction of Lya by overlap with FeII
332  * in case where large atom is not turned on */
333 
335 const int NFEII = 373;
337 const int NFE2PR = 61;
338 
339 class t_fe2ovr_la : public Singleton<t_fe2ovr_la>
340 {
341  friend class Singleton<t_fe2ovr_la>;
342 protected:
343  t_fe2ovr_la();
344 private:
349 
350  long int ipfe2[NFEII];
351 
356 
357  double fe2pt[NFE2PR];
358  double fe2pf[NFE2PR];
359 
361  double fe2par(double te);
362 public:
363  void zero_opacity();
364 
365  void init_pointers();
366 
368  void tau_inc();
369 
371  void atoms_fe2ovr(void);
372 };
373 
374 #endif /* _ATOMFEII_H_ */

Generated for cloudy by doxygen 1.8.1.1