00001 /* This file is part of Cloudy and is copyright (C)1978-2010 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 lines_grains(void); 00019 00022 void lines_setup(void); 00023 00025 void lines_continuum(void); 00026 00028 void lines_molecules(void); 00029 00031 void lines_helium(void); 00032 00034 void lines_lv1_li_ne(void); 00035 00037 void lines_lv1_na_ar(void); 00038 00040 void lines_lv1_k_zn(void); 00041 00044 long int StuffComment( const char * chComment ); 00045 00048 int lines_table(void); 00049 00050 #define NHOLDCOMMENTS 100 00051 00054 EXTERN struct t_LineSave { 00059 long int nsum; 00060 00063 long int nsumAllocated; 00064 00066 long int nComment; 00067 00072 long int ipass; 00073 00075 char chHoldComments[NHOLDCOMMENTS][INPUT_LINE_LENGTH]; 00076 00078 long int ipNormWavL; 00079 00081 realnum WavLNorm; 00082 00084 realnum errorwave; 00085 00088 long int sig_figs; 00089 00091 double ScaleNormLine; 00092 00094 char chNormLab[5]; 00095 00097 bool lgNormSet; 00098 00100 realnum RecCoefCNO[4][471]; 00101 00102 } LineSave; 00103 00107 typedef struct t_tag_LineSv { 00108 00110 char chSumTyp; 00111 00113 char chALab[5]; 00114 00121 double SumLine[4]; 00122 00124 double emslin[2]; 00125 00127 realnum wavelength; 00128 00130 const char *chComment; 00131 00132 } LinSv; 00133 00134 extern LinSv *LineSv, *LineSvSortWL; 00135 00136 00137 #endif /* LINES_H_ */