#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"
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} |
STATIC void conorm | ( | ) |
Definition at line 1495 of file cont_setintensity.cpp.
References AS1RAD, ASSERT, GrainVar::bin, cdEXIT, t_rfield::chRSpec, t_rfield::chSpNorm, t_rfield::chSpType, continuum, t_radius::Conv2PrtInten, t_geometry::covgeo, DEBUG_ENTRY, dense, t_radius::distance, EN1RYD, EXIT_FAILURE, ffun1(), fp_equal(), 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, t_rfield::nShape, PI4, pintr(), t_radius::pirsq, pow(), pow2(), prt, qintr(), radius, t_rfield::range, t_continuum::ResolutionScaleFactor, rfield, t_radius::rinner, t_rfield::RSFCheck, t_geometry::size, t_rfield::slope, SMALLDOUBLE, SPEEDLIGHT, t_rfield::spfac, SQAS_SKY, t_rfield::tNu, TotalInsanity(), t_rfield::totpow, trace, and t_rfield::tslop.
Referenced by ContSetIntensity().
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().
STATIC void extin | ( | realnum * | ex1ryd | ) |
Definition at line 1448 of file cont_setintensity.cpp.
References t_rfield::anu, DEBUG_ENTRY, t_rfield::ExtinguishColumnDensity, t_rfield::ExtinguishConvertColDen2OptDepth, t_rfield::ExtinguishEnergyPowerLow, t_rfield::ExtinguishFactor, t_rfield::ExtinguishLeakage, t_rfield::ExtinguishLowEnergyLimit, t_rfield::flux, t_rfield::flux_beam_const, t_rfield::flux_beam_time, t_rfield::flux_isotropic, ipoint(), t_rfield::nupper, pow(), rfield, and sexp().
Referenced by ContSetIntensity().
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.
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().
STATIC void ptrcer | ( | ) |
Definition at line 1301 of file cont_setintensity.cpp.
References t_rfield::anu, AS_LOCAL_ONLY, cdEXIT, continuum, t_rfield::convoc, DEBUG_ENTRY, EXIT_FAILURE, FFmtRead(), t_continuum::filbnd, INPUT_LINE_LENGTH, ioQQQ, ioStdin, ipoint(), t_rfield::nflux, t_continuum::nrange, open_data(), pow(), read_whole_line(), rfield, and t_rfield::widflx.
Referenced by ContSetIntensity().
STATIC double qintr | ( | double * | qenlo, | |
double * | qenhi | |||
) |
Definition at line 1945 of file cont_setintensity.cpp.
References t_rfield::anu, ASSERT, aweigh, cdEXIT, DEBUG_ENTRY, t_rfield::egamry, t_rfield::emm, EXIT_FAILURE, ffun1(), t_rfield::flux, fweigh, ioQQQ, ipoint(), t_rfield::ipSpec, MAX2, MIN2, t_rfield::nupper, rfield, and t_rfield::widflx.
Referenced by conorm().
Definition at line 1267 of file cont_setintensity.cpp.
References t_rfield::anu, t_rfield::anu2, DEBUG_ENTRY, EN1RYD, t_rfield::flux, MIN2, t_rfield::nflux, and rfield.
Referenced by ContSetIntensity().
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().