cloudy trunk
Loading...
Searching...
No Matches
rt_diffuse.cpp File Reference
#include "cddefines.h"
#include "physconst.h"
#include "taulines.h"
#include "grains.h"
#include "grainvar.h"
#include "iso.h"
#include "dense.h"
#include "opacity.h"
#include "trace.h"
#include "coolheavy.h"
#include "rfield.h"
#include "phycon.h"
#include "hmi.h"
#include "radius.h"
#include "atmdat.h"
#include "heavy.h"
#include "atomfeii.h"
#include "lines_service.h"
#include "h2.h"
#include "ipoint.h"
#include "rt.h"
#include "mole.h"
#include "conv.h"
Include dependency graph for rt_diffuse.cpp:

Go to the source code of this file.

Functions

void RT_diffuse (void)
void RT_iso_integrate_RRC (const long ipISO, const long nelem, const bool lgUpdateContinuum)

Function Documentation

◆ RT_diffuse()

void RT_diffuse ( void )

RT_diffuse fill in DiffCont array with diffuse emission for this zone

Todo
2 should use ConEmitLocal for all continua, but not followed by rfield.DiffuseEscape - put that at the end. Once continua all bundled this way, it will be easy to save them as a function of depth and then do exact rt
Todo
2 Replace this constant with the appropriate macro, if any
Todo
2 add fegrain to outward beams, but within main formalism by including grains in all x-ray processes

Definition at line 34 of file rt_diffuse.cpp.

References ASSERT, atmdat_outer_shell(), EmissionProxy::Aul(), CalcTwoPhotonEmission(), CoolHeavy, dBaseSpecies, dBaseTrans, DEBUG_ENTRY, dense, diatoms, DumpLine(), emergent_line(), TransitionProxy::Emis(), EN1RYD, FeII_RT_Out(), GrainMakeDiffuse(), gv, Heavy, HFLines, hmi, ioQQQ, TransitionProxy::ipCont(), ipH1s, ipH_LIKE, ipHE_LIKE, ipHYDROGEN, ipSatelliteLines, iso_ctrl, iso_sp, lgAbort, LIMELM, MAX2, MILNE_CONST, MIN2, mole, mole_global, nHFLines, NISO, nLevel1, nSpecies, t_iso_sp::numLevels_local, nWindLine, nzone, opac, TransitionProxy::outline(), EmissionProxy::Pesc(), EmissionProxy::phots(), phycon, POW2, PrtTwoPhotonEmissCoef(), radius, rfield, RT_iso_integrate_RRC(), safe_div(), SatelliteLines, SEXP_LIMIT, SMALLFLOAT, t_iso_sp::st, TauLine2, TauLines, TE1RYD, trace, t_iso_sp::trans(), and t_iso_sp::TwoNu.

Referenced by AGN_Hemis(), and cloudy().

Here is the call graph for this function:

◆ RT_iso_integrate_RRC()

void RT_iso_integrate_RRC ( const long ipISO,
const long nelem,
const bool lgUpdateContinuum )