00001 /* This file is part of Cloudy and is copyright (C)1978-2007 by Gary J. Ferland 00002 * For conditions of distribution and use see copyright notice in license.txt */ 00003 00005 void lines(void); 00006 00008 void lines_general(void); 00009 00011 void lines_hydro(void); 00012 00014 void lines_grains(void); 00015 00018 void lines_setup(void); 00019 00021 void lines_continuum(void); 00022 00024 void lines_molecules(void); 00025 00027 void lines_helium(void); 00028 00030 void lines_lv1_li_ne(void); 00031 00033 void lines_lv1_na_ar(void); 00034 00036 void lines_lv1_k_zn(void); 00037 00040 long int StuffComment( const char * chComment ); 00041 00044 int lines_table(void); 00045 00046 #define NHOLDCOMMENTS 100 00047 00050 EXTERN struct t_LineSave { 00055 long int nsum; 00056 00059 bool lgLineEmergent; 00060 00065 long int nComment; 00066 00070 long int ipass; 00071 00073 char chHoldComments[NHOLDCOMMENTS][INPUT_LINE_LENGTH]; 00074 00076 long int ipNormWavL; 00077 00079 float WavLNorm; 00080 00082 float errorwave; 00083 00086 long int sig_figs; 00087 00089 double ScaleNormLine; 00090 00092 char chNormLab[5]; 00093 00095 bool lgNormSet; 00096 00098 float RecCoefCNO[4][471]; 00099 00100 } LineSave; 00101 00105 typedef struct t_tag_LineSv { 00106 00108 char chSumTyp; 00109 00111 char chALab[5]; 00112 00118 float xLineEnergy; 00119 00122 double sumlin[2]; 00123 00125 double emslin[2]; 00126 00128 /*** >>chng 01 aug 14, change to a float from a long int */ 00129 float wavelength; 00130 00131 } LinSv; 00132 00133 extern LinSv *LineSv; 00134 00135 #if 0 00136 typedef struct t_tag_LinDstSv { 00137 00139 char chSMDLab[5]; 00140 float wavelength; 00141 float sumlin[LineSave.lgLineEmergent]; 00142 00143 /*} LineDSv[NDLINES];*/ 00144 } LinDstSv; 00145 00146 extern LinDstSv *LineDSv; 00147 #endif