cloudy  trunk
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
rt.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 _RT_H_
5 #define _RT_H_
6 
15 void RT_line_all(
16  bool lgDoEsc ,
17  bool lgUpdateFineOpac );
18 
21 double RT_line_driving(void);
22 
23 /* in following two the logical variable says whether to do the
24  * escape probabilities too (true) or just the destruction probabilities (false) */
25 
36 void RT_line_one(transition * t ,
37  bool lgDoEsc ,
38  bool lgUpdateFineOpac,
39  bool lgShield_this_zone );
40 
45 
47 void RT_diffuse(void);
48 
51 void RT_OTS(void);
52 
57 void RT_OTS_AddLine(double ots,
58  long int ip );
59 
67 void RT_OTS_Update(
68  double* SumOTS ,
69  double BigFrac);
70 
72 void RT_OTS_Zero( void );
73 
75 void RT_OTS_ChkSum(
76  long int ipPnt);
77 
86  transition * t ,
87  long int mas_species,
88  long int mas_ion,
89  long int mas_hi,
90  long int mas_lo );
91 
93 void RT_tau_init(void);
94 
100  transition * t ,
101  double f1);
102 
104 void RT_tau_reset(void);
105 
107 void RT_tau_inc(void);
108 
113 void RT_OTS_PrtRate(
114  double weak ,
115  int chFlag );
116 
121 double esc_PRD_1side(double tau,
122  double a);
123 
125 double esc_CRDwing_1side(double tau,
126  double a );
127 
134 double RTesc_lya(
135  double *esin,
136  double *dest,
137  double abund,
138  long int ipZ);
139 
145 double esc_CRDwing(double tau,
146  double tout,
147  double damp);
148 
153 double esc_CRDcore(double tau,
154  double tout);
155 
161 double esc_PRD(double tau,
162  double tout,
163  double damp );
164 
168 double esca0k2(double taume);
169 
174 double esccon(double tau,
175  double hnukt);
176 
180 double escConE2(
181  double x);
182 
192 double RT_DestProb(
193  double abund,
194  double crsec,
195  long int ipanu,
196  double widl,
197  double escp,
198  int nCore);
199 
200 #if 0
201 
205 double RT_LyaWidth(
206  double tauin,
207  double tauout,
208  double a,
209  double vth);
210 #endif
211 
215 double RT_LineWidth(
216  const transition * t);
217 
222 double RT_DestHummer(
223  double beta);
224 
228 double RT_recom_effic(
229  long int ip);
230 
232 void RT_stark(void);
233 
236 /* #define DEST0 1e-8 */
237 #define DEST0 SMALLFLOAT
238 
239 EXTERN struct t_rt {
240 
243 
246  wayout;
247 
250 
253  TAddHeI;
254 
258 
260  long int ipxry;
261 
264 
266  bool lgFstOn;
267 
270 
273 
278 
281 
285 
288 
290  bool lgStarkON;
291 
292 } rt;
293 
296 #define LINE_CONT_SHIELD_PESC 1
297 #define LINE_CONT_SHIELD_FEDERMAN 2
298 #define LINE_CONT_SHIELD_FERLAND 3
299 
300 #endif /* _RT_H_ */

Generated for cloudy by doxygen 1.8.3.1