Cloudy
Spectral Synthesis Code for Astrophysics
|
#include "energy.h"
#include "module.h"
#include "vectorize.h"
#include "mesh.h"
#include "container_classes.h"
Go to the source code of this file.
Classes | |
class | Spectrum |
struct | t_rfield |
Namespaces | |
Illuminate | |
Accumulate | |
Enumerations | |
enum | Illuminate::IlluminationType { Illuminate::FORWARD, Illuminate::REVERSE, Illuminate::ISOTROPIC } |
enum | Accumulate::AccumulationType { Accumulate::INSTANTANEOUS = 0, Accumulate::CUMULATIVE = 1 } |
Functions | |
void | rfield_opac_zero (long lo, long ihi) |
double | flux_correct_isotropic (const bool lgSaveIsotrp, const int nEmType, const int j) |
double | flux_correct_isotropic (const int nEmType, const int j) |
Variables | |
const double | WL_V_FILT = 5500. |
const double | WL_B_FILT = 4400. |
const int | LIMSPC = 100 |
bool | lgRfieldAllocated |
t_rfield | rfield |
double flux_correct_isotropic | ( | const bool | lgSaveIsotrp, |
const int | nEmType, | ||
const int | j | ||
) |
flux_correct_isotropic - Do not include isotropic continua in the reported continua, or band fluxes, if explicitly requested. This version of the function is intended for 'save' commands.
lgSaveIsotrp | isotropic option for save file |
nEmType | type of output continuum (instantaneous or time-integrated) |
iflux | index in the flux arrays |
References continuum, t_rfield::flux, t_rfield::flux_beam_const, t_rfield::flux_beam_time, Spectrum::get_flux(), t_continuum::lgPrtIsotropicCont, and t_rfield::nflux.
Referenced by flux_correct_isotropic(), flxCell(), and lines_continuum().
double flux_correct_isotropic | ( | const int | nEmType, |
const int | j | ||
) |
flux_correct_isotropic - Do not include isotropic continua in the reported continua, or band fluxes, if explicitly requested.
nEmType | type of output continuum (instantaneous or time-integrated) |
iflux | index in the flux arrays |
References flux_correct_isotropic().
void rfield_opac_zero | ( | long | lo, |
long | ihi | ||
) |
zero out rfield arrays between certain limits, code in zero.c
References t_opac::albedo, t_rfield::ConEmitOut, t_rfield::ConEmitReflec, t_rfield::ConInterOut, t_rfield::ConOTS_local_OTS_rate, t_rfield::ConOTS_local_photons, t_rfield::ConRefIncid, t_rfield::ContBoltz, t_rfield::ContBoltzAvg, t_rfield::ContBoltzHelp1, t_rfield::ContBoltzHelp2, t_rfield::convoc, t_opac::E2TauAbsFace, t_opac::E2TauAbsOut, t_opac::E2TauAbsTotal, t_opac::ExpmTau, t_opac::ExpZone, t_rfield::fine_opac_zone, t_rfield::fine_opt_depth, t_rfield::flux, t_rfield::flux_accum, t_rfield::flux_beam_const_save, t_rfield::flux_isotropic_save, t_rfield::flux_time_beam_save, t_rfield::flux_total_incident, t_opac::FreeFreeOpacity, lgRfieldAllocated, t_rfield::OccNumbContEmitOut, t_rfield::OccNumbDiffCont, t_opac::OldOpacSave, opac, t_opac::opacity_abs, t_opac::opacity_sct, t_opac::OpacStatic, t_rfield::otscon, t_rfield::otslin, t_rfield::outlin, t_rfield::outlin_noplot, t_rfield::reflin, rfield, t_rfield::SummedCon, t_rfield::SummedDif, t_rfield::SummedOcc, t_opac::TauAbsGeo, t_opac::TauAbsTotal, t_opac::taumin, t_opac::TauScatGeo, t_opac::TauTotalGeo, t_opac::tmn, and vzero().
Referenced by ContCreateMesh(), ConvInitSolution(), and InitSimPostparse().
bool lgRfieldAllocated |
set true when allocated, init to false
Referenced by rfield_opac_alloc(), rfield_opac_zero(), and tfidle().
const int LIMSPC = 100 |
parameters to do with incident continuum limit to number of spectra that can be entered
Referenced by InitDefaultsPreparse(), ParseAbsMag(), ParseAgn(), ParseBackgrd(), ParseBlackbody(), ParseBremsstrahlung(), ParseCMB(), ParseCommands(), ParseEnergy(), ParseF_nu(), ParseIntensity(), ParseInterp(), ParseIonPar(), ParseLaser(), ParseLuminosity(), ParsePhi(), ParsePowerlawContinuum(), ParseQH(), ParseRatio(), and ParseTable().
t_rfield rfield |
Referenced by t_PredCont::add(), AGN_Hemis(), AtlasInterpolate(), atmdat_CHIANTI_readin(), atmdat_LAMDA_readin(), atmdat_STOUT_readin(), atom_level2(), t_gaunt::brems_cool(), t_gaunt::brems_opac(), t_gaunt::brems_rt(), diatomics::CalcPhotoionizationRate(), CalcTwoPhotonEmission(), CalcTwoPhotonRates(), cdDrive(), cdRead(), cdSPEC2(), cmshft(), conorm(), ContBandsCreate(), ContCreateMesh(), ContCreatePointers(), ContNegative(), ContRate(), ContSetIntensity(), ConvBase(), ConvInitSolution(), CoolEvaluate(), CoStarInterpolate(), dense_fabden(), DynaIterEnd(), DynaIterStart(), DynaPunchTimeDep(), eden_sum(), EdenChange(), eeBremsSpectrum(), emergent_line(), extin(), ffun(), ffun1(), FindStrongestLineLabels(), flxCell(), GammaBn(), GammaK(), GammaPrt(), GetDissociationRateCoeff(), diatomics::GetHeatRate(), GrainCharge(), GrainDrift(), GrainElecEmis1(), GrainIonColl(), GrainMakeDiffuse(), GrainMakeDiffuseSingle(), GrainRateDr(), GrainsInit(), GrainTemperature(), GrainUpdateRadius2(), GridInterpolate(), GridRetrieveXSPECData(), H21_cm_pops(), diatomics::H2_LevelPops(), diatomics::H2_PunchDo(), diatomics::H2_X_sink_and_source(), HaardtMadauInterpolate(), HeatSum(), highen(), HyperfineCreate(), IncidentContinuumHere(), InitBinAugerData(), InitDefaultsPreparse(), InitSimPostparse(), InterpolateGridCoStar(), InterpolateModel(), InterpolateModelCoStar(), InterpolateRectGrid(), ion_collis(), ion_photo(), ion_trim(), ion_trim_init(), ipContEnergy(), ipFineCont(), ipLineEnergy(), ipoint(), ipShells(), iso_collide(), iso_create(), iso_ionize_recombine(), iso_level(), iso_photo(), iso_rad_rec_cooling_discrete(), iso_update_rates(), iter_end_check(), IterEnd(), IterRestart(), IterStart(), KhaireSrianandInterpolate(), Kurucz79Interpolate(), lgCheckMonitors(), lgReadAtmosphereTail(), lgValidModel(), lincom(), lindst1(), lines(), lines_continuum(), lines_general(), lines_hydro(), LineStackCreate(), matchGeneric(), mie_calc_ial(), mie_read_opc(), mie_write_opc(), MihalasInterpolate(), mole_h_reactions(), OpacityAdd1Element(), OpacityAdd1Subshell(), OpacityAdd1SubshellInduc(), OpacityAddTotal(), diatomics::OpacityCreate(), OpacityCreate1Element(), OpacityCreateAll(), OpacityCreatePowerLaw(), OpacityCreateReilMan(), OpacityZero(), OpacityZeroOld(), optimize_func(), TransitionProxy::outline(), outline_base(), outline_base_bin(), outsum(), t_gaunt::p_gauntff_vec(), EnergyEntry::p_set_ip(), t_gaunt::p_setup_brems(), ParseAbsMag(), ParseAgn(), ParseBackgrd(), ParseBlackbody(), ParseBremsstrahlung(), ParseCMB(), ParseCMBOuter(), ParseCommands(), ParseCompile(), ParseCosmology(), ParseDatabaseISO(), ParseDiffuse(), ParseDont(), ParseEnergy(), ParseExtinguish(), ParseF_nu(), ParseIlluminate(), ParseIntensity(), ParseInterp(), ParseIonPar(), ParseLaser(), ParseLuminosity(), ParsePhi(), ParsePowerlawContinuum(), ParseQH(), ParseRangeOption(), ParseRatio(), ParseSave(), ParseSet(), ParseStop(), ParseTable(), PE_init(), pintr(), PlanckIntegral(), plankf(), pnegopc(), PressureRadiationLine(), PresTotCurrent(), PrettyTransmission(), print_emline_fine(), PrintSpectrum(), process_output(), PrtComment(), PrtFinal(), PrtHeader(), PrtTwoPhotonEmissCoef(), PrtZone(), punchFITS_EnergyData(), punchFITS_GenericData(), punchFITS_GenericHeader(), punchFITS_SpectraData(), qheat(), qheat_init(), qintr(), radius_first(), radius_increment(), radius_next(), RauchInterpolateCOWD(), RauchInterpolateHCa(), RauchInterpolateHelium(), RauchInterpolateHNi(), RauchInterpolateHpHe(), RauchInterpolateHydr(), RauchInterpolatePG1159(), ReadTable(), RebinAtmosphere(), RebinSingleCell(), resetBltin(), rfield_opac_alloc(), rfield_opac_zero(), RT_continuum(), RT_DestProb(), RT_diffuse(), RT_fine_clear(), RT_iso_integrate_RRC(), RT_line_all(), RT_line_escape(), RT_line_fine_opacity(), RT_line_one_escape(), RT_line_one_fine(), RT_line_one_tauinc(), RT_line_pumping(), RT_OTS(), RT_OTS_AddCont(), RT_OTS_AddLine(), RT_OTS_ChkSum(), RT_OTS_PrtRate(), RT_OTS_Update(), RT_OTS_Zero(), RT_recom_effic(), RT_tau_inc(), RT_tau_init(), RT_tau_reset(), SanityCheckBegin(), save_opacity(), SaveDo(), saveFITSfile(), SaveSpecial(), set_xIntensity(), setXtraRatesCa2(), setXtraRatesO1(), sum_radiation(), sumcon(), tauff(), tfidle(), TlustyInterpolate(), TryDoubleStep(), TwoPhotonSetup(), UpdatePot(), UpdatePot1(), WernerInterpolate(), WMBASICInterpolate(), y0b(), y0b01(), ZoneEnd(), and ZoneStart().
const double WL_B_FILT = 4400. |
wavelength of B filter in Angstroms
Referenced by ContCreatePointers().
const double WL_V_FILT = 5500. |
wavelength of V filter in Angstroms
Referenced by ContCreatePointers().