/home66/gary/public_html/cloudy/c13_branch/source/cont_setintensity.cpp File Reference

#include "cddefines.h"
#include "physconst.h"
#include "iso.h"
#include "noexec.h"
#include "ionbal.h"
#include "hextra.h"
#include "trace.h"
#include "dense.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 "rt.h"
#include "radius.h"
#include "geometry.h"
#include "grainvar.h"
#include "continuum.h"
#include "taulines.h"
Include dependency graph for cont_setintensity.cpp:

Go to the source code of this file.

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)
STATIC void ptrcer ()
void IncidentContinuumHere ()
void ContSetIntensity ()

Variables

static const double aweigh [4] = {-0.4305682,-0.1699905, 0.1699905, 0.4305682}
static const double fweigh [4] = { 0.1739274, 0.3260726, 0.3260726, 0.1739274}

Function Documentation

STATIC void conorm (  ) 
void ContSetIntensity (  ) 

ContSetIntensity derive intensity of incident continuum

Definition at line 100 of file cont_setintensity.cpp.

References t_rfield::anu, t_rfield::anu2, t_rfield::anu3, t_rfield::anulog, t_rfield::AnuOrg, ASSERT, aweigh, BIGFLOAT, called, cdEXIT, t_rfield::chContLabel, t_rfield::chLineLabel, t_rfield::chSpType, t_continuum::cn1216, t_continuum::cn4861, t_ADfA::coll_ion_wrapper(), t_rfield::ConEmitOut, t_rfield::ConEmitReflec, conorm(), t_rfield::ConRefIncid, t_thermal::ConstTemp, t_rfield::ContBoltz, continuum, t_rfield::convoc, t_ionbal::CosRayIonRate, t_hextra::cryden, t_rfield::csigc, t_rfield::csigh, t_secondaries::csupra, DEBUG_ENTRY, dense, t_dense::density_low_limit, t_dense::eden, EdenChange(), t_dense::EdenExtra, t_dense::EdenHCorr, t_dense::EdenHCorr_f, t_dense::EdenSet, t_dense::EdenTrue, t_hextra::effneu, t_rfield::egamry, ELECTRON_MASS, ELEM_CHARGE_ESU, t_rfield::emm, EN1RYD, EXIT_FAILURE, EXIT_SUCCESS, extin(), t_iso_sp::fb, t_continuum::fbeta, ffun(), t_rfield::fine_anu, 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_rfield::FluxFaint, t_continuum::fluxv, FR1RYD, t_hextra::frcneu, fweigh, t_prt::fx1ryd, t_prt::GammaLumin, t_dense::gas_phase, Heavy, hextra, HNU3C2, HPLANCK, hydro, t_oxy::i2d, t_oxy::i2p, t_rfield::Illumination, Singleton< t_ADfA >::Inst(), 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, ipHE_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_rfield::lgMeshSetUp, t_hextra::lgNeutrnHeatOn, t_noexec::lgNoExec, t_rfield::lgOcc1Hi, t_rfield::lgPlasNu, t_trace::lgPtrace, t_dense::lgSetIoniz, t_called::lgTalk, t_thermal::lgTemperatureConstant, t_rfield::lgTimeVary, t_trace::lgTrace, LIMELM, max(), MAX2, MIN2, t_rfield::nfine, t_rfield::nfine_malloc, t_rfield::nflux, NISO, noexec, t_rfield::nShape, t_iso_sp::numLevels_max, t_rfield::nupper, t_rfield::occ1nu, t_rfield::occmax, t_rfield::occmnu, t_rfield::OccNumbIncidCont, opac, t_rfield::OpticalDepthScaleFactor, oxy, t_prt::pbal, phycon, PI, PI4, t_rfield::plsfrq, t_rfield::plsfrqmax, pow(), POW2, pow2(), POW3, t_prt::powion, t_prt::pradio, prt, ptrcer(), 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, t_dense::SetIoniz, ShowMe(), t_rfield::slope, SMALLFLOAT, SPEEDLIGHT, t_iso_sp::st, sumcon(), t_continuum::sv1216, t_continuum::sv4861, t_rfield::tbr4nu, t_rfield::tbrmax, t_rfield::tbrmnu, t_phycon::te, TE1RYD, 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_rfield::widflx, t_dense::xIonDense, and t_prt::xpow.

Referenced by cloudy().

Here is the call graph for this function:

STATIC void extin ( realnum ex1ryd  ) 
void IncidentContinuumHere (  ) 

IncidentContinuumHere derive intensity of incident continuum

Definition at line 68 of file cont_setintensity.cpp.

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

Here is the call graph for this function:

STATIC double pintr ( double  penlo,
double  penhi 
)

Definition at line 2006 of file cont_setintensity.cpp.

References t_rfield::anu, aweigh, DEBUG_ENTRY, ffun1(), fweigh, ipoint(), rfield, and t_rfield::widflx.

Referenced by conorm().

Here is the call graph for this function:

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

Variable Documentation

const double aweigh[4] = {-0.4305682,-0.1699905, 0.1699905, 0.4305682} [static]

Definition at line 40 of file cont_setintensity.cpp.

Referenced by ContSetIntensity(), pintr(), and qintr().

const double fweigh[4] = { 0.1739274, 0.3260726, 0.3260726, 0.1739274} [static]

Definition at line 41 of file cont_setintensity.cpp.

Referenced by ContSetIntensity(), pintr(), and qintr().

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

Generated on 15 Nov 2012 for cloudy by  doxygen 1.6.1