Cloudy
Spectral Synthesis Code for Astrophysics
Loading...
Searching...
No Matches
rt_diffuse.cpp File Reference
#include "cddefines.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 "h2.h"
#include "rt.h"
#include "freebound.h"
#include "two_photon.h"
#include "lines_service.h"
#include "atmdat_gaunt.h"
#include "vectorize.h"
#include "ipoint.h"
Include dependency graph for rt_diffuse.cpp:

Functions

STATIC void RT_iso_integrate_RRC ()
 
void RT_diffuse (void)
 

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 add fegrain to outward beams, but within main formalism by including grains in all x-ray processes

References ASSERT, atmdat, atmdat_outer_shell(), EmissionProxy::Aul(), t_gaunt::brems_rt(), t_gaunt::brems_sum_ions(), CalcTwoPhotonEmission(), CoolHeavy, dBaseSpecies, dBaseTrans, DEBUG_ENTRY, t_brems_den::den_Hep, t_brems_den::den_Hepp, t_brems_den::den_Hm, t_brems_den::den_Hp, t_brems_den::den_ion, dense, diatoms, DumpLine(), emergent_line(), TransitionProxy::Emis(), TransitionProxy::EnergyErg(), ExtraLymanLinesJ05, ExtraLymanLinesJ15, fprintf(), GrainMakeDiffuse(), gv, Heavy, HFLines, hmi, Singleton< t_gaunt >::Inst(), ioQQQ, TransitionProxy::ipCont(), ipExtraLymanLinesJ05, ipExtraLymanLinesJ15, ipH_LIKE, ipHE_LIKE, ipHELIUM, ipHYDROGEN, ipoint(), ipSatelliteLines, iso_ctrl, iso_sp, lgIsLymanLine(), LIMELM, MAX2, MIN2, NISO, nSpecies, t_iso_sp::numLevels_local, nWindLine, nzone, opac, TransitionProxy::outline(), EmissionProxy::Pesc_total(), phots(), phycon, pow2, PrtTwoPhotonEmissCoef(), radius, rfield, RT_iso_integrate_RRC(), safe_div(), SatelliteLines, set_xIntensity(), SEXP_LIMIT, SMALLFLOAT, t_iso_sp::st, TauLine2, trace, t_iso_sp::trans(), t_iso_sp::TwoNu, vzero(), and EmissionProxy::xIntensity().

Referenced by AGN_Hemis(), and cloudy().

Here is the call graph for this function:

◆ RT_iso_integrate_RRC()