00001
00002
00003
00004 #ifndef CONTINUUM_H_
00005 #define CONTINUUM_H_
00006
00007 #include "thirdparty.h"
00008
00009
00011 void ContCreatePointers();
00012
00014 void ContSetIntensity();
00015
00017 void IncidentContinuumHere();
00018
00020 void ContCreateMesh();
00021
00023 void ContNegative();
00024
00031 double ffun(
00032
00033 double anu ,
00034
00035 double *frac_beam_time,
00036
00037 double *frac_beam_const,
00038
00039 double *frac_isotropic );
00040
00042 double ffun(double anu);
00043
00047 double ffun1(double xnu);
00048
00049
00050 void outsum(double *outtot, double *outin, double *outout);
00051
00056 double DrvContPump(const TransitionProxy & t, realnum DopplerWidth);
00057
00063 double cont_gaunt_calc(double, double, double);
00064
00065 struct t_continuum {
00069 realnum *filbnd,
00070
00071 *fildel,
00072
00073 *filres;
00074
00075 long int *ifill0,
00077 nrange;
00078
00081 double *StoredEnergy,
00083 *StoredResolution;
00084
00086 long int nStoredBands;
00087
00090 double ResolutionScaleFactor;
00091
00093 bool lgCon0,
00094 lgCoStarInterpolationCaution;
00095
00097 double TotalLumin,
00098 totlsv;
00099
00101 realnum cn4861,
00102 cn1216,
00103 sv4861,
00104 sv1216;
00105
00106 realnum
00107 fluxv,
00108 fbeta;
00109
00112 long int nContBand;
00113 char **chContBandLabels;
00114 realnum *ContBandWavelength;
00115 long int *ipContBandLow , *ipContBandHi;
00118 realnum *BandEdgeCorrLow , *BandEdgeCorrHi;
00119
00122 long int KshellLimit;
00123 realnum EnergyKshell;
00124
00127 string mesh_md5sum;
00128
00129
00130 bool lgCheckEnergyEveryZone;
00131
00132 t_continuum()
00133 {
00134 nrange = 0;
00135 mesh_md5sum = MD5datafile( "continuum_mesh.ini" );
00136 }
00137
00138 };
00139
00140 extern t_continuum continuum;
00141
00142 #endif