cloudy trunk
|
#include "thirdparty.h"
Go to the source code of this file.
Data Structures | |
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 | DrvContPump (const TransitionProxy &t, realnum DopplerWidth) |
double | cont_gaunt_calc (double, double, double) |
Variables | |
t_continuum | continuum |
double cont_gaunt_calc | ( | double | temp, |
double | z, | ||
double | photon ) |
cont_gaunt_calc do table look up of gaunt factor
temp | |
z | |
photon |
Definition at line 26 of file cont_gaunt.cpp.
References ASSERT, GauntIntegrand(), HNUglobal, qg32(), TE1RYD, TEglobal, and Zglobal.
Referenced by dgaunt(), FillGFF(), SanityCheckBegin(), and SaveGaunts().
void ContCreateMesh | ( | ) |
set up continuum energy mesh if first call, otherwise reset to original mesh
Definition at line 38 of file cont_createmesh.cpp.
References cdEXIT, ChckFill(), continuum, DEBUG_ENTRY, EXIT_FAILURE, fill(), geometry, ioQQQ, iterations, MALLOC, MAX2, NCELL, opac, read_continuum_mesh(), rfield, rfield_opac_malloc(), rfield_opac_zero(), and trace.
Referenced by cloudy(), GridGatherInCloudy(), and ParseCompile().
void ContCreatePointers | ( | ) |
ContCreatePointers create pointers for lines and continua, one time per coreload
Definition at line 56 of file cont_createpointers.cpp.
References abscf(), AllTransitions, two_photon::As2nu, ASSERT, atmdat_2phot_shapefunction(), atoms, EmissionProxy::Aul(), cdEXIT, checkTransitionListOfLists(), chIonLbl(), chLineLbl(), ContBandsCreate(), continuum, dBaseStates, dBaseTrans, DEBUG_ENTRY, dense, diatoms, eina(), ELECTRON_MASS, elementnames, TransitionProxy::Emis(), EN1RYD, EVRYD, EXIT_FAILURE, ExtraLymanLines, fe, FeIIPoint(), fiddle(), fixit(), g, GetGF(), he, Heavy, HFLines, hmi, t_fe2ovr_la::init_pointers(), Singleton< t_ADfA >::Inst(), Singleton< t_fe2ovr_la >::Inst(), Singleton< t_yield >::Inst(), ionbal, ioQQQ, TransitionProxy::ipCont(), ipContEnergy(), ipExtraLymanLines, EmissionProxy::ipFine(), ipFineCont(), ipH1s, ipH2p, ipH2s, 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, nHFLines, NISO, nLevel1, t_yield::nlines(), nSpecies, nUTA, nWindLine, opac, oxy, t_ADfA::ph1(), PI, PI4, rfield, rt, RYDLAM, SatelliteLines, secondaries, t_yield::set_ipoint(), SMALLFLOAT, SPEEDLIGHT, TauDummy, TauLine2, TauLines, trace, TwoPhotonSetup(), UTALines, WL_B_FILT, and WL_V_FILT.
Referenced by cloudy(), and ParseCompile().
void ContNegative | ( | ) |
ContNegative sanity check for negative continuum intensities
Definition at line 10 of file cont_negative.cpp.
References DEBUG_ENTRY, dense, ioQQQ, nzone, phycon, and rfield.
Referenced by iso_level(), and PrintRates().
void ContSetIntensity | ( | ) |
ContSetIntensity derive intensity of incident continuum
Definition at line 100 of file cont_setintensity.cpp.
References ASSERT, aweigh, BIGFLOAT, called, cdEXIT, t_ADfA::coll_ion_wrapper(), conorm(), continuum, DEBUG_ENTRY, dense, EdenChange(), ELECTRON_MASS, ELEM_CHARGE_ESU, EN1RYD, EXIT_FAILURE, EXIT_SUCCESS, extin(), ffun(), FR1RYD, fweigh, Heavy, hextra, HNU3C2, HPLANCK, hydro, Singleton< t_ADfA >::Inst(), ionbal, ioQQQ, ipCARBON, ipH1s, ipH2p, ipH_LIKE, ipHE_LIKE, ipHELIUM, ipHYDROGEN, ipLITHIUM, ipoint(), ipOXYGEN, iso_continuum_lower(), iso_ctrl, iso_sp, LIMELM, max(), MAX2, MIN2, NISO, noexec, opac, oxy, phycon, PI, PI4, POW2, pow2(), POW3, prt, ptrcer(), rfield, RT_OTS_Zero(), secondaries, ShowMe(), SMALLFLOAT, SPEEDLIGHT, sumcon(), TE1RYD, TempChange(), thermal, timesc, TorF(), TotalInsanity(), and trace.
Referenced by cloudy().
double DrvContPump | ( | const TransitionProxy & | t, |
realnum | DopplerWidth ) |
DrvContPump local continuum pumping rate radiative transfer for all lines
*t | |
DopplerWidth |
Definition at line 40 of file cont_pump.cpp.
References a0, BREAK, EmissionProxy::damp(), my_Integrand_con_pump_op::damp, DEBUG_ENTRY, TransitionProxy::Emis(), fitted(), EmissionProxy::iRedisFun(), EmissionProxy::opacity(), EmissionProxy::PopOpc(), my_Integrand_con_pump_op::PumpTau, radius, rfield, Integrator< Integrand, Method >::sum(), and EmissionProxy::TauIn().
Referenced by ParseDrive().
double ffun | ( | double | anu | ) |
ffun version without fractions
Definition at line 17 of file cont_ffun.cpp.
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 |
Definition at line 37 of file cont_ffun.cpp.
References ASSERT, BIGFLOAT, DEBUG_ENTRY, ffun1(), ioQQQ, rfield, and SMALLFLOAT.
double ffun1 | ( | double | xnu | ) |
ffun1 derive flux at a specific energy, for one continuum
anu | photon energy (Rydberg) where continuum is evaluated |
Definition at line 112 of file cont_ffun.cpp.
References ASSERT, BIG, cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, fp_equal(), fp_equal_tol(), ioQQQ, ipoint(), MAX2, MIN2, NCELL, PlanckFunction(), POW3, rfield, sexp(), and TE1RYD.
Referenced by conorm(), ffun(), pintr(), and qintr().
void IncidentContinuumHere | ( | ) |
IncidentContinuumHere derive intensity of incident continuum
Definition at line 68 of file cont_setintensity.cpp.
References DEBUG_ENTRY, ffun(), ioQQQ, max(), rfield, and SMALLFLOAT.
void outsum | ( | double * | outtot, |
double * | outin, | ||
double * | outout ) |
Definition at line 393 of file cont_ffun.cpp.
References DEBUG_ENTRY, EN1RYD, and rfield.
Referenced by lgConserveEnergy().
|
extern |
Definition at line 5 of file continuum.cpp.
Referenced by ChckFill(), cloudy(), conorm(), ContBandsCreate(), ContCreateMesh(), ContCreatePointers(), ContSetIntensity(), fill(), FindVCoStar(), GridGatherInCloudy(), InitDefaultsPreparse(), InitGrid(), ipoint(), ipShells(), IterRestart(), lgCompileAtmosphere(), lgCompileAtmosphereCoStar(), lgConserveEnergy(), lgValidBinFile(), LimitSh(), lines_continuum(), lines_general(), mie_read_opc(), mie_write_opc(), OpacityCreate1Element(), ParseSet(), PrtComment(), PrtHeader(), ptrcer(), read_continuum_mesh(), ReadTable(), SanityCheckBegin(), save_opacity(), SaveDo(), and zero().