cloudy trunk
|
00001 /* This file is part of Cloudy and is copyright (C)1978-2008 by Gary J. Ferland and 00002 * others. For conditions of distribution and use see copyright notice in license.txt */ 00003 00004 #ifndef _PRT_H_ 00005 #define _PRT_H_ 00006 00008 void PrtZone(void); 00009 00011 void PrtContinuum(void); 00012 00014 void PrtComment(void); 00015 00017 void PrtFinal(void); 00018 00023 void prt_wl( 00024 FILE *io , 00025 realnum wavelength ); 00026 00031 void sprt_wl( 00032 char *chString , 00033 realnum wl ); 00034 00037 void PrtHeader(void); 00038 00044 void prt_LineLabels( 00045 FILE * io, 00046 bool lgPrintAll 00047 ); 00048 00050 void prtmet(void); 00051 00056 void prme( 00057 const char *chDoIt, 00058 transition * t); 00059 00066 void PrtMeanIon( char chType , 00067 bool lgDensity, 00068 FILE *); 00069 00073 double PrtLineSum( 00074 const char *chDo); 00075 00077 void PrtLinePres(void); 00078 00083 void PrtColumns( 00084 FILE *ioMEAN ); 00085 00088 void PrtAllTau(void); 00089 00090 EXTERN struct t_prt { 00091 00094 bool lgSortLines; 00095 00098 bool lgSortLineWavelength , lgSortLineIntensity; 00099 00102 realnum wlSort1 , wlSort2; 00103 00109 bool lgPrintColumns; 00110 00113 bool lgPrtLineEmergent; 00114 00117 bool lgPrintTime; 00118 00120 bool lgPrnAges; 00121 00124 bool lgPrtMaser; 00125 00127 bool lgPrtTau; 00128 00131 bool lgPrintFluxEarth; 00132 00135 bool lgSurfaceBrightness , lgSurfaceBrightness_SR; 00136 00138 realnum PrtTauFnt; 00139 00144 bool lgPrnPump, 00145 lgPrnHeat, 00146 lgPrnColl, 00147 lgPrnInwd, 00148 lgPrnDiff; 00149 00151 bool lgPrtCont; 00152 00153 /* flag set with print continuum index command, to identify all lines 00154 * that lie within a continuum cell */ 00155 bool lgPrtContIndices; 00156 /* these are lower and upper limits to the energy range in Rydbergs. 00157 * they are the first and second number on the command line, lower and 00158 * upper bounds of the code are used if not specified */ 00159 realnum lgPrtContIndices_lo_E , 00160 lgPrtContIndices_hi_E; 00161 00163 bool lgSourceReflected; 00164 bool lgSourceTransmitted; 00165 bool lgDiffuseInward; 00166 bool lgDiffuseOutward; 00167 00169 bool lgPrtBN; 00170 00172 bool lgPrtLastIt; 00173 00175 bool lgPrtShort; 00176 00178 bool lgOnlyZone; 00180 bool lgOnlyHead; 00181 00183 bool lgPrtStart; 00184 00186 long int nstart; 00187 00189 bool lgPrintHeating; 00190 00192 bool lgPrtArry[LIMELM]; 00193 00198 realnum TooFaint; 00199 bool lgFaintOn; 00200 00203 bool lgFntSet; 00204 00207 bool lgPrnLineCell; 00210 long int nPrnLineCell; 00211 00214 bool lgPrtLineArray; 00215 00218 bool lgPrtLineLog; 00219 00221 realnum qx, 00222 powion, 00223 xpow, 00224 pbal, 00225 q, 00226 qgam, 00227 pradio, 00228 fx1ryd; 00229 long int ipeak; 00230 realnum GammaLumin; 00231 00232 long int nzdump; 00233 00234 } prt; 00235 00236 00237 00238 #endif /* _PRT_H_ */