00001 /* This file is part of Cloudy and is copyright (C)1978-2011 by Gary J. Ferland and 00002 * others. For conditions of distribution and use see copyright notice in license.txt */ 00003 00004 #ifndef HYDROGENIC_H_ 00005 #define HYDROGENIC_H_ 00006 00022 realnum HydroCSInterp( long int nelem, long int ipHi, long int ipLo, long int Collider ); 00023 00027 void HydroLevel(long int ipZ); 00028 00033 double HydroRecCool(long int n, long int ipZ); 00034 00038 double HCoolRatio( 00039 double t ); 00040 00048 double H_cross_section( double EgammaRyd , double EthRyd, long n, long l, long nelem ); 00049 00051 struct t_hydro { 00052 00055 bool lgHiPop2; 00056 realnum pop2mx; 00057 00060 realnum dstfe2lya; 00061 00063 realnum HLineWidth; 00064 00066 realnum TexcLya; 00067 00069 long int nLyaHot; 00070 00072 realnum TLyaMax, 00074 TeLyaMax; 00075 00077 long int nZTLaMax; 00078 00080 char chHTopType[5]; 00081 00083 realnum H_ion_frac_photo; 00084 00086 realnum HCollIonMax; 00087 00089 realnum H_ion_frac_collis; 00090 00092 double cintot; 00093 00095 bool lgHInducImp; 00096 00098 double D2H_ratio; 00099 00101 realnum DampOnFac; 00102 00104 realnum FracInd; 00105 long int ndclev; 00106 realnum fbul; 00107 long int nbul; 00108 00111 bool lgLymanPumping; 00112 00116 realnum xLymanPumpingScaleFactor; 00117 00118 }; 00119 extern t_hydro hydro; 00120 00121 #endif /* HYDROGENIC_H_ */