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 HYPERFINE_H_ 00005 #define HYPERFINE_H_ 00006 00007 00010 void HyperfineCreate(void); 00011 00015 /*double HyperfineCS( long nelem , long ion );*/ 00016 double HyperfineCS( long i ); 00017 00019 void H21_cm_pops( void ); 00020 00026 double H21cm_H_atom( double temp ); 00027 00033 double H21cm_proton( double temp ); 00034 00039 double H21cm_electron( double temp ); 00040 00041 struct t_hyperfine { 00042 00044 realnum *HFLabundance; 00045 00047 double Tspin21cm; 00048 00050 bool lgLya_pump_21cm; 00051 00053 double cooling_total; 00054 00056 realnum cooling_max; 00057 00058 }; 00059 extern t_hyperfine hyperfine; 00060 00061 #endif /* HYPERFINE_H_ */