cloudy  trunk
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
h2_priv.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 _H2_PRIV_H_
5 #define _H2_PRIV_H_
6 
7 /*H2_Read_Cosmicray_distribution read distribution function for H2 population following cosmic ray collisional excitation
8 void H2_Read_Cosmicray_distribution(void); */
9 
13 /* >> chng 05 jul 15, TE, H2g = sum (v=0, J=0,1) */
14 /* >>chng 05 jul 29, to 0.5 eV, this goes up to J=8 for v=0 */
15 /* >>chng 05 aug 03, slight upward change in energy to include the J=8 level,
16  * also give energy in waveumbers for simplicity (punch h2 levels give energy in ryd) */
17 /*#define ENERGY_H2_STAR (0.5/EVRYD/WAVNRYD)*/
18 /* energy of v=0, J=8 is 4051.73, J=9 is 5001.97
19  * v=1, J=0 is 4161.14 */
20 const double ENERGY_H2_STAR = 4100.;
21 
28 double H2_He_coll(int init, int final, double temp);
29 
35 long int H2_He_coll_init(const char FILE_NAME_IN[]);
36 
40 void H2_ReadEnergies( long int nelec );
41 
45 void H2_ReadDissprob( long int nelec );
46 
48 void H2_CollidRateEvalAll( void );
49 
53 void H2_CollidRateRead( long int nColl );
54 
58 void H2_ReadTransprob( long int nelec );
59 
62 
64 void mole_H2_form( void );
65 
67 void mole_H2_LTE( void );
68 
71 void H2_Solomon_rate( void );
72 
74 void H2_gs_rates( void );
75 
78 void H2_zero_pops_too_low( void );
79 
80 const bool CR_PRINT = false;
81 const int CR_X = 1;
82 const int CR_VIB = 15;
83 const int CR_J = 10;
84 const int CR_EXIT = 3;
85 
88 const int N_X_COLLIDER = 5;
89 
91 const int chN_X_COLLIDER = 10;
93 
95 const int VIB_COLLID = 3;
96 
98 const int nTE_HMINUS = 7;
99 
100 /* these vars are private for H2 but uses same style as all other header files -
101  * the EXTERN is extern in all except cddefines */
102 
105 
108 
111 
115 
118 
121 
124 
127 
130 
133 
136 
139 
143 
148 
157 
159 
161 /*EXTERN realnum **H2_col_rate_in_old;
162 EXTERN realnum **H2_col_rate_out_old;*/
168 
172 
176 
179 
182 
185 
188 
191 
201 
205 
208 
212 
214 EXTERN long int nH2_pops;
215 EXTERN long int nH2_zone;
216 
219 
224 
227 
228 extern double H2_DissocEnergies[N_H2_ELEC];
229 
232 
235 
236 #endif /* _H2_PRIV_H_ */

Generated for cloudy by doxygen 1.8.3.1