Cloudy
Spectral Synthesis Code for Astrophysics
|
#include "module.h"
Go to the source code of this file.
Classes | |
struct | t_continuum |
Functions | |
void | ContCreatePointers () |
void | ContSetIntensity () |
void | IncidentContinuumHere () |
void | ContCreateMesh () |
void | ContNegative () |
double | ffun (double anu, double *frac_beam_time, double *frac_beam_const, double *frac_isotropic) |
double | ffun (double anu) |
double | ffun1 (double xnu) |
void | outsum (double *outtot, double *outin, double *outout) |
double | cont_gaunt_calc (double, double, double) |
void | SpeciesPseudoContCreate () |
void | SpeciesPseudoContAccum () |
void | addUniqueSpeciesBand (const string &filename, const string &speciesLabel) |
void | SpeciesBandsCreate () |
void | SpeciesBandsAccum () |
Variables | |
t_continuum | continuum |
void addUniqueSpeciesBand | ( | const string & | filename, |
const string & | speciesLabel ) |
addUniqueSpeciesBand - add unique combination of species and bands file to list
Note that this command requires that the atomic data be read in.
[in] | filename | name of bands file |
[in[ | speciesLabel species whose emission to accumulate |
References DEBUG_ENTRY, SpecBands, and specBandsExists().
Referenced by ParseSave(), and SpeciesBandsCreate().
double cont_gaunt_calc | ( | double | , |
double | , | ||
double | ) |
cont_gaunt_calc do table look up of gaunt factor
temp | |
z | |
photon |
void ContCreateMesh | ( | ) |
set up continuum energy mesh if first call, otherwise reset to original mesh
References ASSERT, DEBUG_ENTRY, fprintf(), geometry, ioQQQ, iterations, MAX2, opac, rfield, rfield_opac_alloc(), rfield_opac_zero(), trace, and vzero().
Referenced by cloudy(), and ParseCompile().
void ContCreatePointers | ( | ) |
ContCreatePointers create pointers for lines and continua, one time per coreload
References abscf(), AllTransitions, two_photon::As2nu, ASSERT, atmdat, atmdat_2phot_shapefunction(), EmissionProxy::Aul(), cdEXIT, checkTransitionListOfLists(), chIonLbl(), chLineLbl(), ContBandsCreate(), continuum, dBaseSpecies, dBaseStates, dBaseTrans, DEBUG_ENTRY, dense, diatoms, eina(), TransitionProxy::Emis(), energy(), EXIT_FAILURE, ExtraLymanLinesHeLike, ExtraLymanLinesJ05, ExtraLymanLinesJ15, fe, fixit, fprintf(), he, Heavy, HFLines, hmi, Singleton< t_yield >::Inst(), ionbal, ioQQQ, ipCARBON, TransitionProxy::ipCont(), ipContEnergy(), ipExtraLymanLinesHeLike, ipExtraLymanLinesJ05, ipExtraLymanLinesJ15, EmissionProxy::ipFine(), ipFineCont(), ipH1s, ipH2p, ipH_LIKE, ipHe1s1S, ipHe2s3S, ipHE_LIKE, ipHELIUM, ipHYDROGEN, ipLineEnergy(), ipoint(), ipOXYGEN, ipSatelliteLines, ipShells(), two_photon::ipTwoPhoE, iso_create(), iso_ctrl, iso_sp, lgLinesAdded, lgStatesAdded, LIMELM, MAX2, NCHLAB, NISO, t_yield::nlines(), nSpecies, nWindLine, opac, oxy, powi(), rfield, rt, SatelliteLines, secondaries, t_yield::set_ipoint(), SMALLFLOAT, TauLine2, trace, TwoPhotonSetup(), UTALines, WL_B_FILT, and WL_V_FILT.
Referenced by cloudy(), and ParseCompile().
void ContNegative | ( | ) |
ContNegative sanity check for negative continuum intensities
References DEBUG_ENTRY, dense, fprintf(), ioQQQ, nzone, phycon, and rfield.
Referenced by dBase_solve(), iso_level(), and PrintRates().
void ContSetIntensity | ( | ) |
ContSetIntensity derive intensity of incident continuum
References ASSERT, atmdat, BIGFLOAT, called, cdEXIT, t_ADfA::coll_ion_wrapper(), conorm(), continuum, DEBUG_ENTRY, dense, EdenChange(), EXIT_FAILURE, exp10(), extin(), ffun(), fprintf(), Heavy, hextra, hydro, Singleton< t_ADfA >::Inst(), ion_trim_init(), ionbal, ioQQQ, ipCARBON, ipH1s, ipH2p, ipH_LIKE, ipHELIUM, ipHYDROGEN, ipLITHIUM, ipoint(), ipOXYGEN, iso_continuum_lower(), iso_ctrl, iso_sp, LIMELM, MAX2, MIN2, NISO, noexec, opac, oxy, phycon, POW2, POW3, powpq(), prt, rfield, RT_OTS_Zero(), secondaries, ShowMe(), SMALLFLOAT, sumcon(), TempChange(), thermal, timesc, TorF(), TotalInsanity(), and trace.
Referenced by cloudy().
double ffun | ( | double | anu | ) |
ffun version without fractions
References DEBUG_ENTRY, and ffun().
Referenced by ContSetIntensity(), ffun(), and IncidentContinuumHere().
double ffun | ( | double | anu, |
double * | frac_beam_time, | ||
double * | frac_beam_const, | ||
double * | frac_isotropic ) |
ffun evaluate total flux for sum of all continuum sources
anu | photon energy (Rydberg) where continuum is evaluated |
frac_beam_time | fraction of beamed continuum that is varies with time |
frac_beam_const | fraction of beamed continuum that is constant |
frac_isotropic | fraction of continuum that is isotropic |
References ASSERT, BIGFLOAT, DEBUG_ENTRY, ffun1(), fprintf(), ioQQQ, rfield, and SMALLDOUBLE.
double ffun1 | ( | double | xnu | ) |
ffun1 derive flux at a specific energy, for one continuum
anu | photon energy (Rydberg) where continuum is evaluated |
References ASSERT, BIG, cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, exp10(), fp_equal(), fprintf(), ioQQQ, MAX2, MIN2, PlanckFunction(), pow(), POW3, powpq(), rfield, and sexp().
Referenced by conorm(), ffun(), pintr(), and qintr().
void IncidentContinuumHere | ( | ) |
IncidentContinuumHere derive intensity of incident continuum
References DEBUG_ENTRY, ffun(), fprintf(), ioQQQ, max(), rfield, and SMALLFLOAT.
void outsum | ( | double * | outtot, |
double * | outin, | ||
double * | outout ) |
References DEBUG_ENTRY, and rfield.
Referenced by ConserveEnergy().
void SpeciesBandsAccum | ( | ) |
SpeciesBandsAccum - accumulate emission in species bands
References DEBUG_ENTRY, linadd(), SpecBands, StuffComment(), and t_vac().
Referenced by lines().
void SpeciesBandsCreate | ( | ) |
SpeciesBandsCreate - initialize requested species bands files
References addBandsFile(), addUniqueSpeciesBand(), DEBUG_ENTRY, findBandsFile(), isSpeciesActive(), and SpecBands.
Referenced by cloudy().
void SpeciesPseudoContAccum | ( | ) |
SpeciesPseudoContAccum - accumulate pseudo-continua
References DEBUG_ENTRY, LineSave, nzone, PseudoCont, and radius.
Referenced by lines().
void SpeciesPseudoContCreate | ( | ) |
SpeciesPseudoContCreate - initialize requested pseudo-continua
References DEBUG_ENTRY, PseudoCont, PseudoContCreate(), and save.
Referenced by cloudy().
|
extern |
Referenced by cloudy(), ConserveEnergy(), ContBandsCreate(), ContCreatePointers(), ContSetIntensity(), FindVCoStar(), flux_correct_isotropic(), InitDefaultsPreparse(), ipShells(), IterRestart(), LimitSh(), lines_continuum(), lines_general(), OpacityCreate1Element(), ParseDont(), ParseSet(), PrtComment(), PrtHeader(), SanityCheckBegin(), and save_opacity().