35 const bool KILL_CONT =
false;
89 "residual flux at head of Balmer continuum, nuFnu ");
106 "total flux above head of Balmer continuum, nuFnu ");
123 "total flux above head of Balmer continuum, nuFnu ");
156 "residual flux in Balmer continuum, nuFnu ");
179 bac = (f1 - f2)*0.250*0.250*EN1RYD;
188 "residual flux in Balmer continuum, nuFnu ");
214 bac = (f1 - f2)*0.250*0.250*EN1RYD;
217 "residual flux in Balmer continuum, nuFnu ");
220 "incident continuum nu*f_nu at H-beta, at illuminated face of cloud ");
223 "incident continuum nu*f_nu near Ly-alpha, at illuminated face of cloud");
237 "integrated Balmer continuum emission");
256 "Paschen continuum emission ");
266 double EmergentContinuum = 0.;
267 double DiffuseEmission = 0.;
275 double EdgeCorrection = 1.;
290 xIntenOut *= EdgeCorrection;
297 double xIntenIn = 0.;
303 xIntenIn *= EdgeCorrection;
325 EmergentContinuum = 0.;
327 EmergentContinuum /= corr;
331 DiffuseEmission *= EN1RYD;
338 lindst( EmergentContinuum ,
349 "continuum bands defined in continuum_bands.ini");
362 "net free-free cooling, ALL species, free-free heating subtracted, so nearly cancels with cooling in LTE ");
365 "net free-free heating, nearly cancels with cooling in LTE ");
368 " H brems (free-free) cooling ");
371 "total free-free heating ");
374 "He brems emission ");
377 "heavy element recombination cooling ");
380 "heavy elements (metals) brems cooling, heat not subtracted ");
383 "total brems emission - total cooling but not minus heating ");
386 "part of H brems, in x-ray beyond 0.5KeV ");
389 "electron - electron brems ");
392 " cooling due to collisional ionization of heavy elements" );
413 for( i=0; i < long(PredCont.
size()); i++ )
415 double SourceTransmitted , Cont_nInu;
416 double SourceReflected, DiffuseOutward, DiffuseInward;
421 (*TauDummy).WLAng() = (
realnum)PredCont[i].Angstrom();
461 SourceReflected = 0.;
471 SourceTransmitted = 0.;
482 (*TauDummy).WLAng(),
"nFnu",
'i',
483 "total continuum at selected energy points " );
509 sprt_wl( chWL , (*TauDummy).WLAng() );
510 fprintf(
ioQQQ,
"assert line luminosity \"nInu\" %s %.3f\n",
516 "transmitted and reflected incident continuum at selected energy points " );
532 "total reflected continuum, total inward emission plus reflected (diffuse) total continuum ");
546 "reflected incident continuum (only incident) ");
556 linadd( 0., (
realnum)i ,
"####",
'i',
"radiative recombination continua");
561 for(
long nelem=ipISO; nelem <
LIMELM; nelem++ )
569 linadd(0.,0.,
"dumy",
'i',
"radiative recombination continuum");
578 "radiative recombination continuum");
583 linadd(
iso_sp[ipISO][nelem].fb[n].RadRecCon,0,
"dumy",
'i',
584 "radiative recombination continuum");
594 for(
long nelem=NISO; nelem <
LIMELM; nelem++ )
598 for(
long ion=0; ion < nelem-NISO+1; ion++ )
604 linadd(0.,0.,
"dumy",
'i',
"radiative recombination continuum");
607 string chLabel =
chIonLbl( nelem+1, ion+1 );
613 linadd( 0. , wl ,chLabel.c_str(),
'i',
614 "radiative recombination continuum");
620 "radiative recombination continuum");
double RadRecCon[LIMELM][LIMELM]
string chIonLbl(const TransitionProxy &t)
double widflx(size_t i) const
realnum * DiffuseLineEmission
void lindst(double xEmiss, realnum wavelength, const char *chLab, long int ipnt, char chInfo, bool lgOutToo, const char *chComment)
sys_float sexp(sys_float x)
double RefIndex(double EnergyWN)
void lines_continuum(void)
double anu(size_t i) const
void set_offset(long offset)
t_iso_sp iso_sp[NISO][LIMELM]
double xIonDense[LIMELM][LIMELM+1]
LinSv * linadd(double xEmiss, realnum wavelength, const char *chLab, char chInfo, const char *chComment)
realnum * ContBandWavelength
double anu2(size_t i) const
void sprt_wl(char *chString, realnum wl)
realnum * BandEdgeCorrLow
double Valence_IP_Ryd[LIMELM][LIMELM]
#define DEBUG_ENTRY(funcname)
int fprintf(const Output &stream, const char *format,...)
double emergent_line(double emissivity_in, double emissivity_out, long int ipCont)
sys_float SDIV(sys_float x)
double flux_correct_isotropic(const bool lgSaveIsotr, const int nEmType, const int iflux)
long int StuffComment(const char *chComment)