cloudy  trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions | Variables
rfield.cpp File Reference
#include "cddefines.h"
#include "rfield.h"
#include "opacity.h"
#include "continuum.h"
Include dependency graph for rfield.cpp:

Go to the source code of this file.

Functions

double flux_correct_isotropic (const bool lgSaveIsotr, const int nEmType, const int iflux)
 
double flux_correct_isotropic (const int nEmType, const int iflux)
 

Variables

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

Definition at line 112 of file rfield.cpp.

References continuum, t_rfield::flux, t_rfield::flux_beam_const, t_rfield::flux_beam_time, t_continuum::lgPrtIsotropicCont, and t_rfield::nflux.

Referenced by flux_correct_isotropic(), lines_continuum(), and SaveDo().

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

Definition at line 128 of file rfield.cpp.

References flux_correct_isotropic().

Here is the call graph for this function:

Variable Documentation

t_rfield rfield

Definition at line 9 of file rfield.cpp.

Referenced by t_PredCont::add(), AGN_Hemis(), AtlasInterpolate(), atmdat_LAMDA_readin(), atom_level2(), t_gaunt::brems_cool(), t_gaunt::brems_opac(), t_gaunt::brems_rt(), diatomics::CalcPhotoionizationRate(), CalcTwoPhotonEmission(), CalcTwoPhotonRates(), cdDrive(), cdRead(), cdSPEC(), cdSPEC2(), cmshft(), conorm(), ContBandsCreate(), ContCreateMesh(), ContCreatePointers(), ContNegative(), ContRate(), ContSetIntensity(), ConvBase(), ConvInitSolution(), CoolEvaluate(), CoStarInterpolate(), dense_fabden(), dgaunt_check(), DynaIterEnd(), DynaIterStart(), DynaPunchTimeDep(), eden_sum(), EdenChange(), eeBremsSpectrum(), emergent_line(), extin(), ffun(), ffun1(), FindStrongestLineLabels(), GammaBn(), GammaK(), GammaPrt(), GetBins(), GetDissociationRateCoeff(), diatomics::GetHeatRate(), GetModel(), GrainCharge(), GrainDrift(), GrainElecEmis1(), GrainIonColl(), GrainMakeDiffuse(), GrainMakeDiffuseSingle(), GrainRateDr(), GrainsInit(), GrainTemperature(), GrainUpdateRadius2(), GridGatherInCloudy(), GridInterpolate(), H21_cm_pops(), diatomics::H2_LevelPops(), diatomics::H2_PunchDo(), diatomics::H2_X_sink_and_source(), HaardtMadauInterpolate(), HeatSum(), highen(), HyperfineCreate(), IncidentContinuumHere(), InitBinAugerData(), InitDefaultsPreparse(), InitGridASCII(), InitGridBin(), InitSimPostparse(), InterpolateGridCoStar(), InterpolateModel(), InterpolateModelCoStar(), InterpolateRectGrid(), ion_collis(), ion_photo(), ion_trim(), ion_trim_init(), ipContEnergy(), ipFineCont(), ipLineEnergy(), ipoint(), ipShells(), iso_collide(), iso_ionize_recombine(), iso_level(), iso_photo(), iso_rad_rec_cooling_discrete(), iso_update_rates(), iter_end_check(), IterEnd(), IterRestart(), IterStart(), Kurucz79Interpolate(), lgCheckMonitors(), lgCompileAtmosphere(), lgReadAtmosphereTail(), lgValidBinFile(), lgValidModel(), lincom(), lindst1(), lines(), lines_continuum(), lines_general(), lines_hydro(), 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(), ParsePlotRangeContin(), ParsePowerlawContinuum(), ParseQH(), ParseRangeOption(), ParseRatio(), ParseSave(), ParseSet(), ParseStop(), ParseTable(), PE_init(), pintr(), PlanckIntegral(), plankf(), pltcon(), pltopc(), pnegopc(), PressureRadiationLine(), PresTotCurrent(), PrettyTransmission(), print_emline_fine(), PrintSpectrum(), PrtComment(), PrtFinal(), PrtHeader(), PrtTwoPhotonEmissCoef(), PrtZone(), punchFITS_EnergyData(), punchFITS_GenericData(), qheat(), qheat_init(), qintr(), radius_first(), radius_increment(), radius_next(), RauchInterpolateCOWD(), RauchInterpolateHCa(), RauchInterpolateHelium(), RauchInterpolateHNi(), RauchInterpolateHpHe(), RauchInterpolateHydr(), RauchInterpolatePG1159(), ReadTable(), RebinAtmosphere(), RebinSingleCell(), resetBltin(), rfield_opac_malloc(), 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(), SaveNewContinuum(), SaveSpecial(), set_xIntensity(), setXtraRatesCa2(), setXtraRatesO1(), state_get_put(), sum_radiation(), sumcon(), tauff(), tfidle(), TlustyInterpolate(), TryDoubleStep(), TwoPhotonSetup(), UpdatePot(), UpdatePot1(), ValidateGrid(), ValidateMesh(), WernerInterpolate(), WMBASICInterpolate(), y0b(), y0b01(), ZoneEnd(), and ZoneStart().