/home66/gary/public_html/cloudy/c10_branch/source/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 dependency graph for rt_diffuse.cpp:

Go to the source code of this file.

Defines

#define TwoS   (1+ipISO)

Functions

void RT_diffuse (void)

Define Documentation

#define TwoS   (1+ipISO)

Definition at line 29 of file rt_diffuse.cpp.


Function Documentation

void RT_diffuse ( void   ) 

RT_diffuse fill in DiffCont array with diffuse emission for this zone

Todo:
2 This doesn't really seem to be the expression above!!!
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 t_rfield::anu, t_rfield::anu2, t_iso::As2nu, ASSERT, atmdat_outer_shell(), t_radius::BeamInOut, t_radius::BeamOutOut, t_iso::CaseBCheck, t_emission::ColOvTot, t_rfield::ConEmitLocal, t_rfield::ConInterOut, t_rfield::ConOTS_local_photons, t_rfield::ConSourceFcnLocal, t_rfield::ContBoltz, t_rfield::convoc, CoolHeavy, dBaseLines, DEBUG_ENTRY, dense, t_rfield::DiffuseEscape, t_rfield::DiffuseLineEmission, DumpLine(), t_radius::dVolOutwrd, t_dense::eden, emergent_line(), transition::Emis, EN1RYD, t_opac::ExpmTau, FeII_RT_Out(), t_rfield::flux, t_rfield::flux_beam_const, t_rfield::flux_beam_time, t_rfield::flux_isotropic, t_emission::FracInwd, t_rfield::gff, GrainVar::GrainEmission, GrainMakeDiffuse(), gv, H2_RT_diffuse(), Heavy, HFLines, transition::Hi, hmi, t_hmi::Hmolec, HPLANCK, t_dense::IonHigh, t_dense::IonLow, ioQQQ, t_Heavy::ipBalHeavy, transition::ipCont, t_opac::ipElement, t_rfield::ipEnergyBremsThin, ipH1s, ipH_LIKE, ipHe2s3S, ipHE_LIKE, t_Heavy::ipHeavy, ipHELIUM, iphi, t_hmi::iphmin, t_opac::iphmop, t_opac::iphmra, ipHYDROGEN, t_iso::ipIsoLevNIonCon, t_Heavy::ipLyHeavy, t_rfield::ipMaxBolt, ipMH2p, ipMH3p, ipMHeHp, ipoint(), t_iso::ipOpac, t_rfield::ipPlasma, ipRecEsc, t_iso::ipSym2nu, t_iso::ipTwoPhoE, iso, lgAbort, t_iso::lgDielRecom, GrainVar::lgDustOn(), t_dense::lgElmtOn, t_CoolHeavy::lgFreeOn, GrainVar::lgGrainPhysicsOn, t_iso::lgInd2nu_On, t_rfield::lgKillOutCont, t_rfield::lgKillOutLine, t_trace::lgTrace, LIMELM, linesAdded2, MAX2, MILNE_CONST, MIN2, t_quantumState::nelem, t_rfield::nflux, nHFLines, NISO, nLevel1, t_Heavy::nsShells, t_iso::numLevels_local, t_iso::numLevels_max, t_rfield::nupper, nWindLine, nzone, t_rfield::OccNumbDiffCont, opac, t_opac::opacity_abs, t_opac::OpacStack, t_rfield::otscon, t_rfield::otslin, t_rfield::outlin, t_rfield::outlin_noplot, transition::outline_resonance(), t_emission::phots, phycon, POW2, radius, t_iso::RadRec_caseB, t_Heavy::RadRecCon, t_iso::RadRecCon, t_iso::RadRecomb, t_rfield::reflin, rfield, RYD_INF, safe_div(), SatelliteLines, SEXP_LIMIT, SMALLFLOAT, t_phycon::sqrte, t_iso::stat_ion, StatesElemNEW, t_rfield::SummedOcc, TauLine2, TauLines, t_phycon::te, TE1RYD, t_phycon::te_ryd, t_opac::tmn, t_rfield::TotDiff2Pht, trace, t_emission::tran, Transitions, TwoS, t_rfield::widflx, t_dense::xIonDense, t_iso::xIsoLevNIonRyd, and t_Heavy::xLyaHeavy.

Referenced by AGN_Hemis(), and cloudy().

Here is the call graph for this function:

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 15 Nov 2012 for cloudy by  doxygen 1.6.1