00001
00002
00040 void cdInit(void);
00041
00047 void cdTalk(bool);
00048
00055 void cdOutp(FILE* );
00056
00058 void cdInp(FILE* );
00059
00064 void cdDepth_depth( double cdDepth[] );
00065
00069 long int cdnZone(void );
00070
00075 double cdB21cm( void );
00076
00087 int cdRead(char* );
00088
00096 void cdPrtWL( FILE *io , float wl );
00097
00106 long debugLine( float wavelength );
00107
00115 void cdNoExec(void);
00116
00122 int cdDrive(void);
00123
00124
00125
00126
00127
00134 void cdErrors(FILE* );
00135
00151 void cdNwcns(
00152 bool *lgAbort ,
00153 long int *NumberWarnings,
00154 long int *NumberCautions,
00155 long int *NumberNotes,
00156 long int *NumberSurprises,
00157 long int *NumberTempFailures,
00158 long int *NumberPresFailures,
00159 long int *NumberIonFailures,
00160 long int *NumberNeFailures );
00161
00164 void cdReasonGeo(FILE*);
00165
00170 void cdWarnings(FILE*);
00173 void cdCautions(FILE*);
00175 void cdSurprises(FILE*);
00177 void cdNotes(FILE*);
00178
00179
00180
00181
00182
00183
00184
00205 long int cdLine(
00206 const char *chLabel,
00207 float wavelength,
00208 double *relint,
00209 double *absint);
00210
00211
00217 void cdLine_ip(long int ipLine,
00218 double *relint,
00219 double *absint );
00220
00231 long int cdDLine(char *chLabel,
00232 float wavelength,
00233 double *relint,
00234 double *absint );
00235
00243 long int cdLineListPunch(
00244
00245
00246 FILE* io );
00247
00276 int cdColm(const char*, long, double* );
00277
00281 double cdH2_colden( long iVib , long iRot );
00282
00288 double cdCO_colden( long isotope , long iRot );
00289
00305 long int cdEmis(
00306 char *chLabel,
00307 float wavelength,
00308 double *emiss );
00309
00310
00315 void cdEmis_ip(
00316 long int ipLine,
00317 double *emiss );
00318
00322 double cdCooling_last(void);
00323
00327 double cdHeating_last(void);
00328
00330 double cdEDEN_last(void);
00331
00338 void cdPressure_last(
00339 double *TotalPressure,
00340 double *GasPressure,
00341 double *RadiationPressure);
00342
00353 void cdPressure_depth(
00354 double TotalPressure[],
00355 double GasPressure[],
00356 double RadiationPressure[]);
00357
00361 double cdTemp_last(void);
00362
00383 int cdIonFrac(
00384 const char *chLabel,
00385 long int IonStage,
00386 double *fracin,
00387 const char *chWeight ,
00388 bool lgDensity );
00389
00394 void cdVersion(char chString[] );
00395
00400 void cdDate(char chString[] );
00401
00402
00403
00404
00405
00406
00408 void cdSetExecTime(void);
00409
00411 double cdExecTime(void);
00412
00439 long int cdGetLineList(
00440 char chFile[] ,
00441 char ***chLabels ,
00442 float **wl );
00443
00451 void cdTimescales(
00452 double *TTherm ,
00453 double *THRecom ,
00454 double *TH2 );
00455
00456
00457
00458
00459
00460
00461
00462
00463
00464
00465
00466
00468 extern long int nFeIIBands;
00469
00471 extern long int nFeIIConBins;
00472
00473
00477 extern float **FeII_Bands;
00478
00479
00480
00483 extern float **FeII_Cont;
00484
00485
00488 void cdMPI(void);
00518 void cdSPEC(
00519 int Option ,
00520 double EnergyLow[] ,
00521 long int nEnergy ,
00522 double ReturnedSpectrum[] );
00523
00524
00546 void cdSPEC2(
00547 int Option ,
00548 long int nEnergy ,
00549 float ReturnedSpectrum[] );
00550
00568 int cdTemp(
00569 const char *chLabel,
00570 long int IonStage,
00571 double *TeMean,
00572 const char *chWeight );
00573
00578 void cdPrintCommands( FILE * );
00579
00581 void cdClosePunchFiles( void );
00582
00596 long int cdH2_Line(
00597
00598 long int iElecHi,
00599 long int iVibHi ,
00600 long int iRotHi ,
00601
00602 long int iElecLo,
00603 long int iVibLo ,
00604 long int iRotLo ,
00605
00606 double *relint,
00607
00608 double *absint );
00609
00610
00611
00615 extern bool lgcdInitCalled;
00616
00617 #ifndef MAX2
00618
00619 #define MAX2(a,b) (((a)>(b)) ? (a) : (b))
00620 #endif
00621
00622
00623 #ifndef MIN2
00624
00625 #define MIN2(a,b) (((a)<(b)) ? (a) : (b))
00626 #endif
00627
00628