cloudy trunk
Loading...
Searching...
No Matches
continuum.h File Reference
#include "thirdparty.h"
Include dependency graph for continuum.h:
This graph shows which files directly or indirectly include this file:

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

Function Documentation

◆ cont_gaunt_calc()

double cont_gaunt_calc ( double temp,
double z,
double photon )

cont_gaunt_calc do table look up of gaunt factor

Parameters
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().

Here is the call graph for this function:

◆ ContCreateMesh()

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().

Here is the call graph for this function:

◆ ContCreatePointers()

void ContCreatePointers ( )

ContCreatePointers create pointers for lines and continua, one time per coreload

Todo
2 this is redundant with contents of oxygen line arrays use them instead when removing this, make sure all line intensity predictions also go into oi line arrays
Todo
2 what are we trying to print here?

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().

Here is the call graph for this function:

◆ ContNegative()

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().

◆ ContSetIntensity()

◆ DrvContPump()

double DrvContPump ( const TransitionProxy & t,
realnum DopplerWidth )

DrvContPump local continuum pumping rate radiative transfer for all lines

Parameters
*t
DopplerWidth
Todo
2 if used, add damp as arg since calling routine probably evaluated it

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().

Here is the call graph for this function:

◆ ffun() [1/2]

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().

Here is the call graph for this function:

◆ ffun() [2/2]

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

Parameters
anuphoton energy (Rydberg) where continuum is evaluated
frac_beam_timefraction of beamed continuum that is varies with time
frac_beam_constfraction of beamed continuum that is constant
frac_isotropicfraction of continuum that is isotropic

Definition at line 37 of file cont_ffun.cpp.

References ASSERT, BIGFLOAT, DEBUG_ENTRY, ffun1(), ioQQQ, rfield, and SMALLFLOAT.

Here is the call graph for this function:

◆ ffun1()

double ffun1 ( double xnu)

ffun1 derive flux at a specific energy, for one continuum

Parameters
anuphoton 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().

Here is the call graph for this function:

◆ IncidentContinuumHere()

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.

Here is the call graph for this function:

◆ outsum()

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().

Variable Documentation

◆ continuum