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 LINES_H_ 00005 #define LINES_H_ 00006 00007 00009 void lines(void); 00010 00012 void lines_general(void); 00013 00015 void lines_hydro(void); 00016 00018 void LineStackCreate(void); 00019 00021 void lines_grains(void); 00022 00025 void lines_setup(void); 00026 00028 void lines_continuum(void); 00029 00031 void lines_molecules(void); 00032 00034 void lines_helium(void); 00035 00037 void lines_lv1_li_ne(void); 00038 00040 void lines_lv1_na_ar(void); 00041 00043 void lines_lv1_k_zn(void); 00044 00047 long int StuffComment( const char * chComment ); 00048 00051 int lines_table(); 00052 00053 #define NHOLDCOMMENTS 100 00054 00057 struct t_LineSave { 00062 long int nsum; 00063 00066 long int nsumAllocated; 00067 00069 long int nComment; 00070 00075 long int ipass; 00076 00078 char chHoldComments[NHOLDCOMMENTS][INPUT_LINE_LENGTH]; 00079 00081 long int ipNormWavL; 00082 00084 realnum WavLNorm; 00085 00087 realnum errorwave; 00088 00091 long int sig_figs; 00092 00094 double ScaleNormLine; 00095 00097 char chNormLab[5]; 00098 00100 bool lgNormSet; 00101 00103 realnum RecCoefCNO[4][471]; 00104 00105 }; 00106 extern t_LineSave LineSave; 00107 00111 typedef struct t_tag_LineSv { 00112 00114 char chSumTyp; 00115 00117 char chALab[5]; 00118 00125 double SumLine[4]; 00126 00128 double emslin[2]; 00129 00131 realnum wavelength; 00132 00134 const char *chComment; 00135 00136 } LinSv; 00137 00138 extern LinSv *LineSv, *LineSvSortWL; 00139 00140 00141 #endif /* LINES_H_ */