Cloudy
Spectral Synthesis Code for Astrophysics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
rfield.h File Reference
#include "energy.h"
#include "module.h"
#include "vectorize.h"
#include "mesh.h"
#include "container_classes.h"
Include dependency graph for rfield.h:
This graph shows which files directly or indirectly include this file:

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
 

Function Documentation

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.

Parameters
lgSaveIsotrpisotropic option for save file
nEmTypetype of output continuum (instantaneous or time-integrated)
ifluxindex in the flux arrays
Returns
total flux, by default including isotropic continua

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().

Here is the call graph for this function:

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.

Parameters
nEmTypetype of output continuum (instantaneous or time-integrated)
ifluxindex in the flux arrays
Returns
total flux, by default including isotropic continua

References flux_correct_isotropic().

Here is the call graph for this function:

Variable Documentation

bool lgRfieldAllocated

set true when allocated, init to false

Referenced by rfield_opac_alloc(), rfield_opac_zero(), and tfidle().

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().