cloudy  trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Data Structures | Namespaces | Enumerations | Functions | Variables
rfield.h File Reference
#include "energy.h"
#include "module.h"
#include "mesh.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.

Data Structures

struct  t_rfield
 

Namespaces

 Illuminate
 

Enumerations

enum  Illuminate::IlluminationType { Illuminate::FORWARD, Illuminate::REVERSE, Illuminate::ISOTROPIC }
 

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 lgRfieldMalloced
 
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:

void rfield_opac_zero ( long  lo,
long  ihi 
)

Variable Documentation

bool lgRfieldMalloced

set true when malloced, init to false

Definition at line 39 of file cdinit.cpp.

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

const int LIMSPC = 100
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().

const double WL_B_FILT = 4400.

wavelength of B filter in Angstroms

Definition at line 16 of file rfield.h.

Referenced by ContCreatePointers().

const double WL_V_FILT = 5500.

wavelength of V filter in Angstroms

Definition at line 13 of file rfield.h.

Referenced by ContCreatePointers().