cloudy  trunk
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 
106 
107  /* ==============================================================
108  * all following deals with ionization processes */
109 
121  double ****PhotoRate_Shell;
122 
127 
131 
135 
138 
142 
146 
149 
153 
156 
157  /* ==============================================================
158  * following deal with Compton recoil ionization of bound electrons */
159 
164 
167 
169  long int **ipCompRecoil;
170 
173 
176 
179 
182 
184  double **UTA_ionize_rate;
186  double **UTA_heat_rate;
187 
195 
197  double **RateIonizTot;
198 
202 
204  /* ==============================================================
205  * end Compton recoil ionization of bound electrons */
206 
207  /* ==============================================================
208  * all following deals with recombination */
209 
211  double **RateRecomTot;
212 
217 
221 
224 
230 
233 
237 
240 
247 
250  **GrainDestr;
251 
252  int
255 
259 
264 
267  bool lgSupDie[2];
268 
272 
275  bool lgNoCota;
276 
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 doxygen 1.8.1.2