Cloudy
Spectral Synthesis Code for Astrophysics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
cont_setintensity.cpp File Reference
#include "cddefines.h"
#include "iso.h"
#include "noexec.h"
#include "ionbal.h"
#include "hextra.h"
#include "trace.h"
#include "oxy.h"
#include "conv.h"
#include "prt.h"
#include "heavy.h"
#include "rfield.h"
#include "phycon.h"
#include "called.h"
#include "hydrogenic.h"
#include "timesc.h"
#include "secondaries.h"
#include "opacity.h"
#include "thermal.h"
#include "ipoint.h"
#include "atmdat.h"
#include "atmdat_adfa.h"
#include "rt.h"
#include "radius.h"
#include "geometry.h"
#include "grainvar.h"
#include "continuum.h"
#include "ion_trim.h"
#include "freebound.h"
#include "dense.h"
Include dependency graph for cont_setintensity.cpp:

Functions

STATIC void conorm ()
 
STATIC double pintr (double penlo, double penhi)
 
STATIC double qintr (double qenlo, double qenhi)
 
STATIC void sumcon (long int il, long int ih, realnum *q, realnum *p, realnum *panu)
 
STATIC void extin (realnum *ex1ryd)
 
void IncidentContinuumHere ()
 
void ContSetIntensity ()
 

Function Documentation

void ContSetIntensity ( )

ContSetIntensity derive intensity of incident continuum

References t_mesh::anu(), t_mesh::anu2(), t_mesh::anumax(), t_mesh::anumin(), ASSERT, atmdat, BIGFLOAT, called, cdEXIT, t_rfield::chContLabel, t_rfield::chLineLabel, t_rfield::chSpType, t_continuum::cn1216, t_continuum::cn1367, t_continuum::cn2066, t_continuum::cn4861, t_ADfA::coll_ion_wrapper(), t_rfield::ConEmitOut, t_rfield::ConEmitReflec, conorm(), t_rfield::ConRefIncid, t_thermal::ConstTemp, t_rfield::ContBoltz, t_rfield::ContBoltzAvg, t_rfield::ContBoltzHelp1, t_rfield::ContBoltzHelp2, continuum, t_rfield::convoc, t_ionbal::CosRayIonRate, t_hextra::cryden, t_rfield::csigc, t_rfield::csigh, t_secondaries::csupra, DEBUG_ENTRY, dense, t_dense::eden, EdenChange(), t_dense::EdenExtra, t_dense::EdenHCorr, t_dense::EdenHCorr_f, t_dense::EdenSet, t_dense::EdenTrue, t_hextra::effneu, t_atmdat::EIonPot, EXIT_FAILURE, exp10(), extin(), t_iso_sp::fb, t_continuum::fbeta, ffun(), t_rfield::flux, t_rfield::flux_beam_const, t_rfield::flux_beam_const_save, t_rfield::flux_beam_time, t_rfield::flux_isotropic, t_rfield::flux_isotropic_save, t_rfield::flux_time_beam_save, t_rfield::flux_total_incident, t_continuum::fluxv, fprintf(), t_hextra::frcneu, t_prt::fx1ryd, t_prt::GammaLumin, t_dense::gas_phase, Heavy, hextra, hydro, t_oxy::i2d, t_oxy::i2p, t_rfield::Illumination, Singleton< t_ADfA >::Inst(), ion_trim_init(), ionbal, t_dense::IonHigh, t_dense::IonLow, ioQQQ, ipCARBON, t_opac::ipCKshell, t_ionbal::ipCompRecoil, t_prt::ipeak, t_rfield::ipEnerGammaRay, t_rfield::ipG0_DB96_hi, t_rfield::ipG0_DB96_lo, ipH1s, ipH2p, ipH_LIKE, t_Heavy::ipHeavy, ipHELIUM, ipHYDROGEN, ipLITHIUM, t_opac::ipo3exc, ipoint(), ipOXYGEN, t_rfield::ipPlasma, t_rfield::ipPlasmax, t_rfield::ipSpec, iso_continuum_lower(), iso_ctrl, iso_sp, t_rfield::lgBeamed, t_trace::lgComBug, t_ionbal::lgCompRecoil, t_continuum::lgCon0, t_trace::lgConBug, t_isoCTRL::lgContinuumLoweringEnabled, t_dense::lgElmtOn, t_rfield::lgHabing, t_hydro::lgHInducImp, t_rfield::lgHionRad, t_hextra::lgNeutrnHeatOn, t_noexec::lgNoExec, t_rfield::lgOcc1Hi, t_rfield::lgPlasNu, t_called::lgTalk, t_thermal::lgTemperatureConstant, t_rfield::lgTimeVary, t_trace::lgTrace, LIMELM, MAX2, MIN2, t_rfield::nflux, t_rfield::nflux_with_check, NISO, noexec, t_rfield::nPositive, t_rfield::nShape, t_iso_sp::numLevels_max, t_rfield::occ1nu, t_rfield::occmax, t_rfield::occmnu, t_rfield::OccNumbIncidCont, opac, t_rfield::OpticalDepthScaleFactor, oxy, t_prt::pbal, phycon, t_rfield::plsfrq, t_rfield::plsfrqmax, POW2, POW3, t_prt::powion, powpq(), t_prt::pradio, prt, t_prt::q, t_rfield::qbal, t_prt::qgam, t_rfield::qhe, t_rfield::qheii, t_rfield::qhtot, t_rfield::qrad, t_rfield::qtot, t_prt::qx, rfield, RT_OTS_Zero(), secondaries, t_secondaries::SetCsupra, ShowMe(), t_rfield::slope, SMALLFLOAT, t_iso_sp::st, sumcon(), t_continuum::sv1216, t_continuum::sv1367, t_continuum::sv2066, t_continuum::sv4861, t_rfield::tbr4nu, t_rfield::tbrmax, t_rfield::tbrmnu, t_phycon::te, t_phycon::telogn, TempChange(), t_phycon::TEnerDen, thermal, t_timesc::TimeErode, timesc, TorF(), TotalInsanity(), t_continuum::TotalLumin, t_continuum::totlsv, t_hextra::totneu, trace, t_rfield::uh, t_rfield::uheii, t_mesh::widflx(), t_dense::xIonDense, and t_prt::xpow.

Referenced by cloudy().

Here is the call graph for this function:

void IncidentContinuumHere ( )

IncidentContinuumHere derive intensity of incident continuum

References t_mesh::anu(), DEBUG_ENTRY, t_rfield::ExtinguishFactor, ffun(), t_rfield::flux, fprintf(), ioQQQ, max(), t_rfield::nflux, rfield, SMALLFLOAT, and t_mesh::widflx().

Here is the call graph for this function:

STATIC double pintr ( double  penlo,
double  penhi 
)

References t_mesh::anu(), DEBUG_ENTRY, ffun1(), t_mesh::ipointC(), rfield, and t_mesh::widflx().

Referenced by conorm().

Here is the call graph for this function:

STATIC double qintr ( double  qenlo,
double  qenhi 
)
STATIC void sumcon ( long int  il,
long int  ih,
realnum q,
realnum p,
realnum panu 
)

References t_mesh::anu(), t_mesh::anu2(), DEBUG_ENTRY, t_rfield::flux, MIN2, t_rfield::nflux, and rfield.

Referenced by ContSetIntensity().

Here is the call graph for this function: