Go to the source code of this file.
Data Structures | |
struct | t_continuum |
Functions | |
void | ContCreatePointers (void) |
int | ContSetIntensity (void) |
void | ContCreateMesh (void) |
void | ContNegative (void) |
double | ffun (double anu) |
double | ffun1 (double xnu) |
double | DrvContPump (EmLine *t) |
double | cont_gaunt_calc (double, double, double) |
Variables | |
EXTERN struct t_continuum | continuum |
double cont_gaunt_calc | ( | double | , | |
double | , | |||
double | ||||
) |
cont_gaunt_calc do table look up of gaunt factor
temp | ||
z | ||
photon |
Definition at line 26 of file cont_gaunt.cpp.
References ASSERT, GauntIntegrand(), qg32(), and TE1RYD.
Referenced by dgaunt(), FillGFF(), PunchGaunts(), and SanityCheckBegin().
void ContCreateMesh | ( | void | ) |
set up continuum energy mesh if first call, otherwise reset to original mesh
Definition at line 40 of file cont_createmesh.cpp.
References t_rfield::anu, t_rfield::anu2, t_rfield::AnuOrg, t_rfield::anusqr, cdEXIT(), ChckFill(), t_rfield::ConEmitLocal, continuum, t_rfield::csigc, t_rfield::csigh, DEBUG_ENTRY, DEBUG_EXIT, t_rfield::egamry, t_rfield::emm, fill(), t_rfield::fine_anu, t_rfield::fine_ener_hi, t_rfield::fine_ener_lo, geometry, ioQQQ, t_rfield::ipnt_coarse_2_fine, t_iterations::iter_malloc, iterations, t_trace::lgTrace, MALLOC, MAX2, NCELL, t_geometry::nend, t_geometry::nend_max, t_rfield::nfine_malloc, t_rfield::nflux, t_continuum::nrange, t_continuum::nStoredBands, t_rfield::nupper, read_continuum_mesh(), rfield, rfield_opac_malloc(), rfield_opac_zero(), t_continuum::StoredEnergy, t_continuum::StoredResolution, trace, t_rfield::trans_coef_total, t_rfield::trans_coef_zone, and t_rfield::widflx.
Referenced by cloudy(), and ParseCompile().
void ContCreatePointers | ( | void | ) |
ContCreatePointers create pointers for lines and continua, one time per coreload
Definition at line 62 of file cont_createpointers.cpp.
References abscf(), t_rfield::anu, t_rfield::anu2, t_rfield::AnuOrg, t_rfield::anusqr, t_iso::As2nu, ASSERT, atmdat_2phot_shapefunction(), atoms, EmLine::Aul, C12O16Rotate, C13O16Rotate, cdEXIT(), t_rfield::chContLabel, t_elementnames::chElementSym, chIonLbl(), t_elementnames::chIonStage, t_rfield::chLineLabel, chLineLbl(), ContBandsCreate(), continuum, EmLine::dampXvel, DEBUG_ENTRY, DEBUG_EXIT, dense, eina(), ELECTRON_MASS, elementnames, EmisLines, EN1RYD, t_rfield::EnerGammaRay, EmLine::EnergyErg, EmLine::EnergyK, t_continuum::EnergyKshell, EmLine::EnergyWN, EnrPredCont, ERG1CM, EVRYD, t_iso::ExtraLymanLines, fe, Fe2_ovr_DataInit(), t_fe2ovr_la::fe2enr, fe2ovr_la, FeIIPoint(), fiddle(), t_continuum::filbnd, t_rfield::fine_anu, GetGF(), EmLine::gf, H2_ContPoint(), H2_Create(), he, EmLine::heat, Heavy, HeCreate(), HFLines, hmi, t_oxy::i2d, t_oxy::i2p, t_opac::ica2ex, t_opac::ih2pnt, t_hmi::iheh1, t_hmi::iheh2, t_opac::in1, Singleton< T >::Inst(), Singleton< t_ADfA >::Inst(), ionbal, EmLine::IonStg, ioQQQ, t_rfield::ip1000A, t_he::ip374, t_he::ip660, t_rfield::ipB_filter, t_opac::ipCKshell, t_ionbal::ipCompRecoil, EmLine::ipCont, ipContEnergy(), t_opac::ipElement, t_rfield::ipEnerGammaRay, t_fe::ipfe10, t_fe2ovr_la::ipfe2, EmLine::ipFine, ipFineCont(), t_rfield::ipG0_DB96_hi, t_rfield::ipG0_DB96_lo, t_rfield::ipG0_spec_hi, t_rfield::ipG0_spec_lo, t_rfield::ipG0_TH85_hi, t_rfield::ipG0_TH85_lo, ipH1s, t_opac::ipH2_photo_thresh, ipH2p, ipH2s, ipH_LIKE, t_iso::ipHalfTwoPhoE, ipHe1s1S, ipHe2s1S, ipHE_LIKE, t_Heavy::ipHeavy, ipHELIUM, t_hmi::iphmin, ipHYDROGEN, t_iso::ipIsoLevNIonCon, ipLineEnergy(), t_opac::ipmgex, t_opac::ipo1exc, t_opac::ipo3exc, t_opac::ipo3exc3, t_atoms::ipoiex, ipoint(), ipOXYGEN, t_opac::ippr, ipPredCont, t_secondaries::ipSecIon, ipShells(), t_iso::ipSym2nu, t_iso::ipTwoPhoE, t_rfield::ipV_filter, t_rt::ipxry, iso, iso_create(), t_continuum::KshellLimit, t_trace::lgConBug, t_dense::lgElmtOn, t_rt::lgFstOn, t_trace::lgPointBug, t_trace::lgTrace, t_trace::lgTrLine, LIMELM, MALLOC, MAX2, nCORotate, NCRS, EmLine::nelem, NFEII, nHFLines, NISO, nLevel1, t_iso::nLyman, NPREDCONT, t_Heavy::nsShells, t_iso::numLevels_max, t_rfield::nupper, nUTA, nWindLine, opac, EmLine::opacity, oxy, t_fe::pfe10, t_fe::pfe11a, t_fe::pfe11b, t_fe::pfe14, t_ADfA::ph1(), PI, PI4, rfield, rt, RYDLAM, secondaries, t_iso::SmallA, SMALLFLOAT, SPEEDLIGHT, T1CM, TauDummy, TauLine2, TauLines, trace, TwoS, UTALines, t_Heavy::Valence_IP_Ryd, WAVNRYD, t_rfield::widflx, WL_B_FILT, WL_V_FILT, EmLine::WLAng, and t_iso::xIsoLevNIonRyd.
Referenced by cloudy(), and ParseCompile().
void ContNegative | ( | void | ) |
ContNegative sanity check for negative continuum intensities
Definition at line 10 of file cont_negative.cpp.
References t_rfield::anu, t_rfield::chContLabel, t_rfield::chLineLabel, t_rfield::ConInterOut, DEBUG_ENTRY, DEBUG_EXIT, dense, t_dense::eden, t_rfield::flux, ioQQQ, t_rfield::nflux, nzone, t_rfield::otscon, t_rfield::otslin, t_rfield::outlin, phycon, rfield, t_rfield::SummedCon, and t_phycon::te.
Referenced by HeLikeLevel(), HydroLevel(), and ion_solver().
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().
double DrvContPump | ( | EmLine * | t | ) |
DrvContPump local continuum pumping rate radiative transfer for all lines
*t |
Definition at line 28 of file cont_pump.cpp.
References a0, BREAK_, con_pump_op(), EmLine::damp, damp, DEBUG_ENTRY, DEBUG_EXIT, t_DoppVel::doppler, DoppVel, t_radius::dRNeff, FITTED, EmLine::iRedisFun, t_rfield::lgInducProcess, EmLine::nelem, EmLine::opacity, EmLine::PopOpc, PumpTau, qg32(), radius, rfield, and EmLine::TauIn.
Referenced by ParseDrive().
double ffun | ( | double | anu | ) |
ffun evaluate total flux for sum of all continuum sources
anu |
Definition at line 17 of file cont_ffun.cpp.
References ASSERT, DEBUG_ENTRY, DEBUG_EXIT, ffun1(), t_rfield::frac_time, ioQQQ, t_rfield::ipspec, t_rfield::lgTimeVary, t_rfield::nspec, rfield, SDIV(), and t_rfield::spfac.
Referenced by ContSetIntensity().
double ffun1 | ( | double | xnu | ) |
ffun1 derive flux at a specific energy, for one continuum
xnu |
Definition at line 59 of file cont_ffun.cpp.
References t_rfield::anu, ASSERT, BIG, cdEXIT(), t_rfield::chSpType, t_rfield::ConTabRead, t_rfield::cutoff, DEBUG_ENTRY, DEBUG_EXIT, t_rfield::egamry, t_rfield::emm, ioQQQ, t_rfield::ioTableRead, ipoint(), t_rfield::ipspec, MAX2, MIN2, NCELL, t_rfield::nspec, t_rfield::nupper, POW3, ReadTable(), rfield, sexp(), t_rfield::slope, TE1RYD, t_rfield::tFluxLog, t_rfield::tNuRyd, and t_rfield::tslop.
Referenced by conorm(), ffun(), pintr(), and qintr().
EXTERN struct t_continuum continuum |
Referenced by ChckFill(), conorm(), ContBandsCreate(), ContCreateMesh(), ContCreatePointers(), ContSetIntensity(), fill(), FindVCoStar(), ipoint(), ipShells(), IterRestart(), LimitSh(), lines_continuum(), lines_general(), OpacityCreate1Element(), ParseSet(), PrtComment(), PrtHeader(), ptrcer(), punch_opacity(), read_continuum_mesh(), SanityCheckBegin(), and zero().