00001
00002
00003
00004 #ifndef LINES_SERVICE_H_
00005 #define LINES_SERVICE_H_
00006
00007 void linadd(
00008 double xInten,
00009 realnum wavelength,
00010 const char *chLab,
00011 char chInfo ,
00012 const char *chComment );
00013
00014
00015 void outline_base(double dampXvel, double damp, bool lgTransStackLine, long int ip, double phots, realnum inwd,
00016 double nonScatteredFraction);
00017
00018
00019 void outline_base_bin(bool lgTransStackLine, long int ip, double phots, realnum inwd,
00020 double nonScatteredFraction);
00021
00031 void lindst(double xInten,
00032 realnum wavelength,
00033 const char *chLab,
00034 long int ipnt,
00035 char chInfo,
00036 bool lgOutToo,
00037 const char *chComment);
00038
00050 void lindst(double dampXvel,
00051 double damp,
00052 double xInten,
00053 realnum wavelength,
00054 const char *chLab,
00055 long int ipnt,
00056 char chInfo,
00057 bool lgOutToo,
00058 const char *chComment);
00059
00060 class transition;
00061
00071 void lindst(
00072 transition *t,
00073 const char *chLab,
00074 char chInfo,
00075 bool lgOutToo,
00076 const char *chComment);
00077
00083 double emergent_line(
00084
00085 double emissivity_in ,
00086
00087 double emissivity_out ,
00088
00089 long int ipCont );
00090
00097 void PntForLine(double wavelength,
00098 const char *chLabel,
00099 long int *ipnt);
00100
00106 double GetGF(double eina,
00107 double enercm,
00108 double gup);
00109
00115 double eina(double gf,
00116 double enercm,
00117 double gup);
00118
00124 double abscf(double gf,
00125 double enercm,
00126 double gl);
00127
00129 #define LOWDEN_LYMAN 0
00130
00135 double RefIndex(double EnergyWN);
00136
00137
00145 realnum WavlenErrorGet( realnum wavelength );
00146
00150 void EmLineJunk( emission * t );
00151
00155 void CollisionJunk( collision * t );
00156
00160 void StateJunk( quantumState * t );
00161
00165 void EmLineZero( emission * t );
00166
00170 void CollisionZero( collision * t );
00171
00175 void StateZero( quantumState * t );
00176
00181 double ConvRate2CS( realnum gHi , realnum rate );
00182
00189 double ConvCrossSect2CollStr( double CrsSectCM2, double gLo, double E_ProjectileRyd, double reduced_mass_grams );
00190
00197 double totlin(
00198 int chInfo);
00199
00200
00206 void FndLineHt(long int *level,
00207
00208 long int *ipStrong,
00209 double *Strong);
00210
00212 quantumState *AddState2Stack( void );
00213
00214 #endif