#include "cddefines.h"
#include "physconst.h"
#include "iso.h"
#include "extinc.h"
#include "noexec.h"
#include "ionbal.h"
#include "hextra.h"
#include "trace.h"
#include "dense.h"
#include "oxy.h"
#include "prt.h"
#include "heavy.h"
#include "rfield.h"
#include "phycon.h"
#include "called.h"
#include "hydrogenic.h"
#include "timesc.h"
#include "neutrn.h"
#include "secondaries.h"
#include "opacity.h"
#include "thermal.h"
#include "ipoint.h"
#include "atmdat.h"
#include "rt.h"
#include "pressure.h"
#include "radius.h"
#include "geometry.h"
#include "grainvar.h"
#include "continuum.h"
Go to the source code of this file.
Functions | |
static void | conorm (void) |
static double | pintr (double penlo, double penhi) |
static double | qintr (double *qenlo, double *qenhi) |
static void | sumcon (long int il, long int ih, float *q, float *p, float *panu) |
static void | extin (float *ex1ryd) |
static void | ptrcer (void) |
int | ContSetIntensity (void) |
Variables | |
static double | aweigh [4] = {-0.4305682,-0.1699905, 0.1699905, 0.4305682} |
static double | fweigh [4] = { 0.1739274, 0.3260726, 0.3260726, 0.1739274} |
static void conorm | ( | void | ) | [static] |
Definition at line 1321 of file cont_setintensity.cpp.
References t_rfield::AnuOrg, ASSERT, t_gv::bin, cdEXIT(), t_rfield::chRSpec, t_rfield::chSpNorm, t_rfield::chSpType, continuum, t_radius::Conv2PrtInten, t_geometry::covgeo, DEBUG_ENTRY, DEBUG_EXIT, dense, t_radius::distance, EN1RYD, GrainBin::EnergyCheck, ffun1(), FR1RYD, t_dense::gas_phase, geometry, gv, t_geometry::iEmissPower, ioQQQ, ipHYDROGEN, t_rfield::ipspec, t_rfield::lgContMalloc, t_radius::lgPredLumin, t_prt::lgPrintFluxEarth, t_radius::lgRadiusKnown, t_prt::lgSurfaceBrightness, t_prt::lgSurfaceBrightness_SR, t_trace::lgTrace, MAX2, t_gv::nBin, GrainBin::NFPCheck, t_rfield::nspec, t_rfield::nupper, PI, PI2, PI4, pintr(), t_radius::pirsq, POW2, prt, qintr(), t_radius::Radius, radius, t_rfield::range, t_continuum::ResolutionScaleFactor, rfield, t_rfield::slope, SPEEDLIGHT, t_rfield::spfac, t_rfield::tNuRyd, t_rfield::totpow, trace, and t_rfield::tslop.
Referenced by ContSetIntensity().
int ContSetIntensity | ( | void | ) |
ContSetIntensity derive intensity of incident continuum,
Definition at line 71 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(), 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, DEBUG_EXIT, dense, t_dense::eden, t_dense::EdenExtra, t_dense::EdenHCorr, t_dense::EdenSet, t_dense::EdenTrue, t_neutrn::effneu, t_rfield::egamry, t_rfield::emm, EN1RYD, extin(), t_continuum::fbeta, ffun(), t_rfield::fine_anu, t_rfield::flux, t_rfield::flux_const, t_rfield::flux_time, t_rfield::FluxFaint, t_rfield::FluxSave, t_continuum::fluxv, FR1RYD, t_rfield::frac_time, t_neutrn::frcneu, fweigh, t_prt::fx1ryd, t_prt::GammaLumin, t_dense::gas_phase, Heavy, hextra, HNU3C2, HPLANCK, hydro, t_oxy::i2d, t_oxy::i2p, 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, ipH1s, ipH2p, ipH_LIKE, ipHE_LIKE, t_Heavy::ipHeavy, ipHELIUM, ipHYDROGEN, t_iso::ipIsoLevNIonCon, t_opac::ipo3exc, ipoint(), ipOXYGEN, t_rfield::ipPlasma, t_rfield::ipPlasmax, t_rfield::ipspec, iso, t_trace::lgComBug, t_ionbal::lgCompRecoil, t_continuum::lgCon0, t_trace::lgConBug, t_rfield::lgContMalloc, t_dense::lgElmtOn, t_rfield::lgHabing, t_hydro::lgHInducImp, t_rfield::lgHionRad, t_neutrn::lgNeutrnHeatOn, t_noexec::lgNoExec, t_rfield::lgOcc1Hi, t_rfield::lgPlasNu, t_trace::lgPtrace, t_dense::lgSetIoniz, t_called::lgTalk, t_trace::lgTrace, t_thermal::lgTSetOn, LIMELM, MAX2, MIN2, neutrn, t_rfield::nfine, t_rfield::nfine_malloc, t_rfield::nflux, noexec, t_rfield::nspec, t_iso::numLevels_max, t_rfield::nupper, t_rfield::occ1nu, t_rfield::occmax, t_rfield::occmnu, t_rfield::OccNumbIncidCont, opac, oxy, t_prt::pbal, phycon, PI4, t_rfield::plsfrq, t_rfield::plsfrqmax, t_iso::Pop2Ion, POW2, t_prt::powion, t_prt::pradio, PresTotCurrent(), 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, sumcon(), t_continuum::sv1216, t_continuum::sv4861, t_rfield::tbr4nu, t_rfield::tbrmax, t_rfield::tbrmnu, t_phycon::te, TE1RYD, t_phycon::telogn, t_phycon::TEnerDen, t_rfield::tFluxLog, thermal, t_timesc::TimeErode, timesc, t_rfield::tNuRyd, t_continuum::TotalLumin, t_continuum::totlsv, t_neutrn::totneu, trace, t_rfield::tslop, t_rfield::uh, t_rfield::uheii, t_rfield::widflx, t_dense::xIonDense, and t_prt::xpow.
Referenced by cloudy().
static void extin | ( | float * | ex1ryd | ) | [static] |
Definition at line 1279 of file cont_setintensity.cpp.
References t_rfield::anu, t_extinc::cnst_col2optdepth, t_extinc::cnst_power, DEBUG_ENTRY, DEBUG_EXIT, t_extinc::excolm, t_extinc::exleak, t_extinc::exlow, extinc, t_rfield::flux, ipoint(), t_rfield::nflux, rfield, and sexp().
Referenced by ContSetIntensity().
static double pintr | ( | double | penlo, | |
double | penhi | |||
) | [static] |
Definition at line 1920 of file cont_setintensity.cpp.
References t_rfield::anu, aweigh, DEBUG_ENTRY, DEBUG_EXIT, ffun1(), fweigh, ipoint(), rfield, and t_rfield::widflx.
Referenced by conorm().
static void ptrcer | ( | void | ) | [static] |
Definition at line 1108 of file cont_setintensity.cpp.
References t_rfield::anu, cdEXIT(), continuum, t_rfield::convoc, DEBUG_ENTRY, FFmtRead(), t_continuum::filbnd, INPUT_LINE_LENGTH, ioQQQ, ioStdin, ipoint(), t_rfield::nflux, t_continuum::nrange, rfield, and t_rfield::widflx.
Referenced by ContSetIntensity().
static double qintr | ( | double * | qenlo, | |
double * | qenhi | |||
) | [static] |
Definition at line 1856 of file cont_setintensity.cpp.
References t_rfield::anu, aweigh, cdEXIT(), DEBUG_ENTRY, DEBUG_EXIT, t_rfield::egamry, t_rfield::emm, ffun1(), t_rfield::flux, fweigh, ioQQQ, ipoint(), t_rfield::ipspec, MAX2, MIN2, t_rfield::nupper, rfield, and t_rfield::widflx.
Referenced by conorm().
static void sumcon | ( | long int | il, | |
long int | ih, | |||
float * | q, | |||
float * | p, | |||
float * | panu | |||
) | [static] |
Definition at line 1072 of file cont_setintensity.cpp.
References t_rfield::anu, t_rfield::anu2, DEBUG_ENTRY, DEBUG_EXIT, EN1RYD, t_rfield::flux, MIN2, t_rfield::nflux, and rfield.
Referenced by ContSetIntensity().
double aweigh[4] = {-0.4305682,-0.1699905, 0.1699905, 0.4305682} [static] |
Definition at line 41 of file cont_setintensity.cpp.
Referenced by ContSetIntensity(), pintr(), and qintr().
double fweigh[4] = { 0.1739274, 0.3260726, 0.3260726, 0.1739274} [static] |
Definition at line 42 of file cont_setintensity.cpp.
Referenced by ContSetIntensity(), pintr(), and qintr().