cloudy  trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Data Fields | Private Attributes
t_rfield Struct Reference

#include <rfield.h>

Inheritance diagram for t_rfield:
Inheritance graph
[legend]
Collaboration diagram for t_rfield:
Collaboration graph
[legend]

Public Member Functions

const char * chName () const
 
void zero ()
 
void comment (t_warnings &)
 
 t_rfield ()
 
const realnumgetCoarseTransCoef ()
 
void setCoarseTransCoefPtr (realnum *ptr)
 
void resetCoarseTransCoef ()
 
void setTrimming ()
 
- Public Member Functions inherited from module
 module ()
 
virtual ~module ()
 
- Public Member Functions inherited from t_mesh
void InitMesh (bool lgUnitCell)
 
void ValidateEdges () const
 
void CheckMesh () const
 
bool lgMeshSetUp () const
 
long ncells () const
 
double emm () const
 
double egamry () const
 
double getResolutionScaleFactor () const
 
void setResolutionScaleFactor (double fac)
 
string mesh_md5sum () const
 
const double * anuptr () const
 
double anu (size_t i) const
 
double anu2 (size_t i) const
 
double anu3 (size_t i) const
 
double anuln (size_t i) const
 
const double * anulog10ptr () const
 
double anulog10 (size_t i) const
 
double anusqrt (size_t i) const
 
double anumin (size_t i) const
 
double anumax (size_t i) const
 
double widflx (size_t i) const
 
size_t ipointC (double anu) const
 
size_t ipointF (double anu) const
 
size_t ithreshC (double threshold) const
 
size_t ithreshF (double threshold) const
 
 t_mesh ()
 

Data Fields

long int nflux
 
long int nflux_with_check
 
long int nPositive
 
double FluxFaint
 
long int * line_count
 
realnumOccNumbContEmitOut
 
realnum ** flux
 
realnumflux_isotropic
 
realnumflux_beam_time
 
realnumflux_beam_const
 
realnumflux_accum
 
realnumExtinguishFactor
 
realnum ExtinguishLeakage
 
realnum ExtinguishColumnDensity
 
realnum ExtinguishLowEnergyLimit
 
realnum ExtinguishConvertColDen2OptDepth
 
realnum ExtinguishEnergyPowerLow
 
bool lgMustBlockHIon
 
bool lgBlockHIon
 
bool lgDoLineTrans
 
bool lgOpacityReevaluate
 
bool lgCMB_set
 
bool lgIonizReevaluate
 
realnumconvoc
 
realnumOccNumbIncidCont
 
realnumOccNumbDiffCont
 
double * ContBoltz
 
double * ContBoltzHelp1
 
double * ContBoltzHelp2
 
double * vexp_arg
 
double * ContBoltzAvg
 
realnum ** ConEmitLocal
 
realnum ** ConSourceFcnLocal
 
realnum ** ConEmitReflec
 
realnum ** ConEmitOut
 
realnumConInterOut
 
realnum ** ConRefIncid
 
double * SummedCon
 
realnumSummedDif
 
realnumSummedOcc
 
realnumSummedDifSave
 
realnumConOTS_local_photons
 
realnumConOTS_local_OTS_rate
 
realnumDiffuseEscape
 
realnumTotDiff2Pht
 
realnumotslin
 
realnumotscon
 
realnum ** otssav
 
realnum ** outlin
 
realnumoutlin_noplot
 
realnumDiffuseLineEmission
 
realnum ** reflin
 
realnum ** flux_total_incident
 
realnumflux_beam_const_save
 
realnumflux_time_beam_save
 
realnumflux_isotropic_save
 
realnum time_continuum_scale
 
realnum DiffPumpOn
 
vector< string > chLineLabel
 
vector< string > chContLabel
 
char chDffTrns [4]
 
bool lgOutOnly
 
long int ipEnergyBremsThin
 
realnum EnergyBremsThin
 
long int ipMaxBolt
 
bool lgInducProcess
 
double * comup
 
double * comdn
 
long int ipB_filter
 
long int ipV_filter
 
long int ipG0_TH85_lo
 
long int ipG0_TH85_hi
 
long int ipG0_DB96_lo
 
long int ipG0_DB96_hi
 
long int ipG0_spec_lo
 
long int ipG0_spec_hi
 
long int ip1000A
 
double extin_mag_B_point
 
double extin_mag_V_point
 
double extin_mag_B_extended
 
double extin_mag_V_extended
 
double opac_mag_B_point
 
double opac_mag_V_point
 
double opac_mag_B_extended
 
double opac_mag_V_extended
 
realnumcsigh
 
realnumcsigc
 
realnumeeBremsDif
 
double comtot
 
double cmheat
 
double cmcool
 
double cinrat
 
bool lgComptonOn
 
bool lgComUndr
 
double totpow [LIMSPC]
 
double slope [LIMSPC]
 
double cutoff [LIMSPC][3]
 
double spfac [LIMSPC]
 
bool lgTimeVary [LIMSPC]
 
bool lgBeamed [LIMSPC]
 
realnum OpticalDepthScaleFactor [LIMSPC]
 
Illuminate::IlluminationType Illumination [LIMSPC]
 
long int nShape
 
long int ipSpec
 
vector< EnergytNu [LIMSPC]
 
vector< realnumtslop [LIMSPC]
 
vector< realnumtFluxLog [LIMSPC]
 
long ncont [LIMSPC]
 
double RSFCheck [LIMSPC]
 
double range [LIMSPC][2]
 
char chSpNorm [LIMSPC][5]
 
char chRSpec [LIMSPC][5]
 
char chSpType [LIMSPC][6]
 
char chCumuType [5]
 
realnum qhtot
 
realnum qhe
 
realnum qheii
 
realnum qbal
 
realnum qrad
 
realnum qtot
 
realnum uh
 
realnum uheii
 
bool lgUSphON
 
realnum rstrom
 
bool lgHabing
 
long int fine_opac_nelem
 
long int fine_opac_nresolv
 
realnum fine_opac_velocity_width
 
bool trans_coef_total_stale
 
long int * ipnt_coarse_2_fine
 
realnum fine_ener_lo
 
realnum fine_ener_hi
 
long nfine
 
double fine_resol
 
realnumfine_opac_zone
 
realnumfine_opt_depth
 
realnumfine_anu
 
long int ipFineConVelShift
 
bool lgOpacityFine
 
bool lgSaveOpacityFine
 
bool lgLyaOTS
 
bool lgHeIIOTS
 
bool lgKillOutLine
 
bool lgKillOutCont
 
bool lgKillOTSLine
 
bool lgPlasNu
 
realnum plsfrq
 
realnum plsfrqmax
 
long int nZonePlsFrqEval
 
long int ipPlasma
 
long int ipPlasmax
 
bool lgMMok
 
bool lgHPhtOK
 
bool lgXRayOK
 
bool lgGamrOK
 
realnum EnerGammaRay
 
long int ipEnerGammaRay
 
bool lgHionRad
 
realnum occmax
 
realnum occmnu
 
realnum tbrmax
 
realnum tbrmnu
 
realnum tbr4nu
 
realnum occ1nu
 
bool lgOcc1Hi
 
realnum EnergyIncidCont
 
realnum EnergyDiffCont
 

Private Attributes

realnumtrans_coef_total
 

Detailed Description

Definition at line 32 of file rfield.h.

Constructor & Destructor Documentation

t_rfield::t_rfield ( )
inline

Member Function Documentation

const char* t_rfield::chName ( ) const
inlinevirtual

Implements module.

Definition at line 33 of file rfield.h.

void t_rfield::comment ( t_warnings )
inlinevirtual

Implements module.

Definition at line 39 of file rfield.h.

const realnum * t_rfield::getCoarseTransCoef ( )

Definition at line 56 of file rfield.cpp.

References fine_opt_depth, ipnt_coarse_2_fine, t_opac::lgScatON, nflux, opac, sexp(), trans_coef_total, and trans_coef_total_stale.

Referenced by cdSPEC2(), SaveDo(), and sum_radiation().

Here is the call graph for this function:

void t_rfield::resetCoarseTransCoef ( )
inline

Definition at line 485 of file rfield.h.

References nflux_with_check, trans_coef_total, and trans_coef_total_stale.

Referenced by ContCreateMesh(), IterRestart(), and RT_OTS_Zero().

void t_rfield::setCoarseTransCoefPtr ( realnum ptr)
inline

Definition at line 481 of file rfield.h.

References trans_coef_total.

Referenced by rfield_opac_malloc().

void t_rfield::setTrimming ( )

Definition at line 92 of file rfield.cpp.

References t_mesh::anu(), DEBUG_ENTRY, FluxFaint, max(), nflux, nPositive, SummedCon, and t_mesh::widflx().

Referenced by RT_continuum(), RT_OTS_Update(), RT_OTS_Zero(), and ZoneEnd().

Here is the call graph for this function:

void t_rfield::zero ( void  )
virtual

Field Documentation

vector<string> t_rfield::chContLabel

string identifying the first continuum edge that occurred at this energy

Definition at line 215 of file rfield.h.

Referenced by AGN_Hemis(), ContCreatePointers(), ContNegative(), ContSetIntensity(), GammaPrt(), ipContEnergy(), rfield_opac_malloc(), RT_continuum(), RT_OTS_ChkSum(), RT_OTS_PrtRate(), save_opacity(), and SaveDo().

char t_rfield::chCumuType[5]

Definition at line 333 of file rfield.h.

Referenced by IterEnd(), ParseSet(), PrintSpectrum(), and zero().

char t_rfield::chDffTrns[4]

method for transferring diffuse continuum either 'ots' or 'oux' where x is n for which

Definition at line 219 of file rfield.h.

Referenced by InitDefaultsPreparse(), ParseCosmology(), ParseDiffuse(), and RT_recom_effic().

vector<string> t_rfield::chLineLabel

string identifying the first line that occurred at this energy

Definition at line 212 of file rfield.h.

Referenced by ContCreatePointers(), ContNegative(), ContSetIntensity(), FindStrongestLineLabels(), GammaPrt(), ipLineEnergy(), rfield_opac_malloc(), RT_continuum(), RT_OTS_ChkSum(), RT_OTS_PrtRate(), and SaveDo().

char t_rfield::chRSpec[LIMSPC][5]
char t_rfield::chSpNorm[LIMSPC][5]

chSpNorm says how spectrum was normalized - intensity or luminosity case chRSpec says whether per unit area or tot 4 pi

Definition at line 333 of file rfield.h.

Referenced by conorm(), ParseAbsMag(), ParseBackgrd(), ParseBlackbody(), ParseCMB(), ParseEnergy(), ParseF_nu(), ParseIntensity(), ParseIonPar(), ParseLuminosity(), ParsePhi(), ParseQH(), ParseRatio(), and ParseTable().

char t_rfield::chSpType[LIMSPC][6]
double t_rfield::cinrat

Definition at line 277 of file rfield.h.

Referenced by highen(), InitSimPostparse(), and PrtComment().

double t_rfield::cmcool

Definition at line 277 of file rfield.h.

Referenced by CoolEvaluate(), highen(), InitSimPostparse(), PrtHeader(), and PrtZone().

double t_rfield::cmheat

Definition at line 277 of file rfield.h.

Referenced by HeatSum(), highen(), lines(), lines_general(), PrtHeader(), and PrtZone().

double * t_rfield::comdn

Definition at line 238 of file rfield.h.

Referenced by highen(), rfield_opac_malloc(), and SaveDo().

double t_rfield::comtot

Definition at line 277 of file rfield.h.

Referenced by InitSimPostparse(), IterStart(), lines(), and PrtComment().

double* t_rfield::comup

saves for the upward and downward Compton shifts

Definition at line 238 of file rfield.h.

Referenced by highen(), rfield_opac_malloc(), and SaveDo().

realnum** t_rfield::ConEmitLocal

ConEmitLocal is local diffuse continuum, units photons cm-3 s-1 cell-1, for each zone, evaluated in RT_diffuse

Definition at line 141 of file rfield.h.

Referenced by AGN_Hemis(), ContCreateMesh(), lines_continuum(), pltcon(), RT_continuum(), RT_diffuse(), RT_iso_integrate_RRC(), and SaveDo().

realnum** t_rfield::ConEmitOut

outward diffuse emission continuum (not the interactive one), this is incremented in radinc because of interplay between absorption and emission - get the outward bremsstrahlung right photons cell-1 cm-2 s-1

Definition at line 153 of file rfield.h.

Referenced by cdSPEC(), cdSPEC2(), ContSetIntensity(), IterEnd(), IterRestart(), IterStart(), lines_continuum(), pltcon(), rfield_opac_malloc(), rfield_opac_zero(), RT_continuum(), SaveDo(), and sum_radiation().

realnum** t_rfield::ConEmitReflec
realnum* t_rfield::ConInterOut
realnum * t_rfield::ConOTS_local_OTS_rate

the local photoionization rate corresponding to above photons

Definition at line 170 of file rfield.h.

Referenced by GammaPrt(), IterRestart(), IterStart(), rfield_opac_malloc(), rfield_opac_zero(), RT_OTS_ChkSum(), RT_OTS_Update(), and RT_OTS_Zero().

realnum* t_rfield::ConOTS_local_photons

this will control array of locally destroyed continuum photons, zeroed and evaluated in RT_diffuse, currently only two-photon

Definition at line 170 of file rfield.h.

Referenced by IterRestart(), IterStart(), rfield_opac_malloc(), rfield_opac_zero(), RT_OTS_Update(), and RT_OTS_Zero().

realnum** t_rfield::ConRefIncid

ConRefIncid is reflected portion of incident continuum

Definition at line 159 of file rfield.h.

Referenced by cdSPEC(), cdSPEC2(), ContSetIntensity(), IterEnd(), IterRestart(), lines_continuum(), rfield_opac_malloc(), rfield_opac_zero(), RT_continuum(), SaveDo(), and sum_radiation().

realnum** t_rfield::ConSourceFcnLocal

the local source function - diffuse emission, photons cell-1 cm-2 s-1

Definition at line 144 of file rfield.h.

Referenced by ContCreateMesh(), RT_diffuse(), and SaveDo().

double* t_rfield::ContBoltz

array of Boltzmann factors for the continuum energy grid and current temperature

Definition at line 126 of file rfield.h.

Referenced by atom_level2(), ContSetIntensity(), eeBremsSpectrum(), H21_cm_pops(), OpacityAdd1SubshellInduc(), OpacityAddTotal(), t_gaunt::p_setup_brems(), plankf(), rfield_opac_malloc(), rfield_opac_zero(), RT_diffuse(), RT_recom_effic(), RT_tau_inc(), and tfidle().

double* t_rfield::ContBoltzAvg

array of Boltzmann factors for the continuum energy grid and current temperature properly averaged over the width of the cell

Definition at line 137 of file rfield.h.

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

double* t_rfield::ContBoltzHelp1

helper arrays for calculating Boltzmann factors averaged over the width of the cell

Definition at line 129 of file rfield.h.

Referenced by ContSetIntensity(), iso_rad_rec_cooling_discrete(), rfield_opac_malloc(), rfield_opac_zero(), RT_iso_integrate_RRC(), and tfidle().

double* t_rfield::ContBoltzHelp2
realnum* t_rfield::convoc

convoc is the conversion factor from rfield to OccNumbIncidCont

Definition at line 115 of file rfield.h.

Referenced by ContSetIntensity(), IterRestart(), rfield_opac_malloc(), rfield_opac_zero(), RT_continuum(), RT_diffuse(), RT_OTS_Update(), RT_OTS_Zero(), set_xIntensity(), ZoneEnd(), and ZoneStart().

realnum * t_rfield::csigc

Definition at line 271 of file rfield.h.

Referenced by ContCreateMesh(), ContSetIntensity(), highen(), PrtHeader(), and rfield_opac_malloc().

realnum* t_rfield::csigh

coefficients for fitting Tarter expressions for Compton heating and cooling, over full energy range of code

Definition at line 271 of file rfield.h.

Referenced by ContCreateMesh(), ContSetIntensity(), highen(), PrtHeader(), and rfield_opac_malloc().

double t_rfield::cutoff[LIMSPC][3]
realnum t_rfield::DiffPumpOn

this is zero or one depending whether pumping by diffuse fields is turned on (1) or turned off (0)

Definition at line 209 of file rfield.h.

Referenced by ParseDont(), and zero().

realnum* t_rfield::DiffuseEscape

computed in rt_diffuse.cpp, escaping continuum emission added to beam in radius_increment

Definition at line 176 of file rfield.h.

Referenced by IterRestart(), IterStart(), rfield_opac_malloc(), RT_continuum(), RT_diffuse(), and RT_iso_integrate_RRC().

realnum* t_rfield::DiffuseLineEmission

local diffuse line emission, photons cm-3 s-1

Definition at line 195 of file rfield.h.

Referenced by lines_continuum(), outline_base_bin(), rfield_opac_malloc(), RT_diffuse(), and SaveDo().

realnum* t_rfield::eeBremsDif

ee brems emission, still needs to be multiplied with pow2(dense.eden)

Definition at line 275 of file rfield.h.

Referenced by OpacityAddTotal(), rfield_opac_malloc(), and RT_diffuse().

realnum t_rfield::EnerGammaRay

lowest energy counted as gamma rays, 100 keV

Definition at line 446 of file rfield.h.

Referenced by ContCreatePointers(), InitSimPostparse(), and ParseInterp().

realnum t_rfield::EnergyBremsThin

Definition at line 229 of file rfield.h.

Referenced by InitSimPostparse(), IterRestart(), IterStart(), PrtComment(), PrtFinal(), and tauff().

realnum t_rfield::EnergyDiffCont

Definition at line 465 of file rfield.h.

Referenced by lgCheckMonitors(), PrtZone(), and RT_continuum().

realnum t_rfield::EnergyIncidCont

intensity [erg cm-2 s-1] in incident and diffuse continua in current zone

Definition at line 465 of file rfield.h.

Referenced by lgCheckMonitors(), PrtZone(), and RT_continuum().

double t_rfield::extin_mag_B_extended

extinction in magnitudes at B and V filters for a resolved source, this does discount forward scattering, so is appropriate for a resolved source

Definition at line 264 of file rfield.h.

Referenced by InitSimPostparse(), IterRestart(), IterStart(), and radius_increment().

double t_rfield::extin_mag_B_point

extinction in magnitudes at B and V filters for a point source, this does not discount forward scattering

Definition at line 260 of file rfield.h.

Referenced by InitSimPostparse(), IterRestart(), IterStart(), PrtFinal(), and radius_increment().

double t_rfield::extin_mag_V_extended
double t_rfield::extin_mag_V_point
realnum t_rfield::ExtinguishColumnDensity

Definition at line 83 of file rfield.h.

Referenced by extin(), InitDefaultsPreparse(), and ParseExtinguish().

realnum t_rfield::ExtinguishConvertColDen2OptDepth

the constant that multiplies the column density to get optical depth

Definition at line 83 of file rfield.h.

Referenced by extin(), and t_rfield().

realnum t_rfield::ExtinguishEnergyPowerLow

the power on the energy

Definition at line 83 of file rfield.h.

Referenced by extin(), and t_rfield().

realnum* t_rfield::ExtinguishFactor

extinction factor set with extinguish command

Definition at line 82 of file rfield.h.

Referenced by extin(), IncidentContinuumHere(), and rfield_opac_malloc().

realnum t_rfield::ExtinguishLeakage

Definition at line 83 of file rfield.h.

Referenced by extin(), InitDefaultsPreparse(), and ParseExtinguish().

realnum t_rfield::ExtinguishLowEnergyLimit

Definition at line 83 of file rfield.h.

Referenced by extin(), InitDefaultsPreparse(), and ParseExtinguish().

realnum* t_rfield::fine_anu

energies at center of each bin for fine continuum

Definition at line 393 of file rfield.h.

Referenced by ContCreateMesh(), ContCreatePointers(), print_emline_fine(), rfield_opac_malloc(), save_opacity(), and SaveDo().

realnum t_rfield::fine_ener_hi

Definition at line 383 of file rfield.h.

Referenced by ContCreateMesh(), ipFineCont(), ParseSet(), and rfield_opac_malloc().

realnum t_rfield::fine_ener_lo

low and high bounds of fine continuum - set by need to include all resonance lines

Definition at line 383 of file rfield.h.

Referenced by ContCreateMesh(), ipFineCont(), ParseSet(), and rfield_opac_malloc().

long int t_rfield::fine_opac_nelem

heaviest element to be considered - default is iron - the fine opacity array resolution depends on heaviest element and lowest temperature

Definition at line 363 of file rfield.h.

Referenced by ParseSet(), rfield_opac_malloc(), and zero().

long int t_rfield::fine_opac_nresolv

number of resolution elements over width of this element, default is 4

Definition at line 366 of file rfield.h.

Referenced by ParseSet(), rfield_opac_malloc(), and zero().

realnum t_rfield::fine_opac_velocity_width

number of cm/s of each cell in fine mesh

Definition at line 369 of file rfield.h.

Referenced by PrtFinal(), rfield_opac_malloc(), RT_fine_clear(), and RT_line_fine_opacity().

realnum* t_rfield::fine_opac_zone
realnum* t_rfield::fine_opt_depth

total optical depth array for fine continuum

Definition at line 391 of file rfield.h.

Referenced by getCoarseTransCoef(), rfield_opac_malloc(), rfield_opac_zero(), RT_tau_inc(), RT_tau_reset(), and SaveDo().

double t_rfield::fine_resol

the dimensionless resolution of the fine continuum - dE/E

Definition at line 387 of file rfield.h.

Referenced by ipFineCont(), and rfield_opac_malloc().

realnum** t_rfield::flux
realnum* t_rfield::flux_accum

the accumulated flux, sum from this energy to infinity

Definition at line 79 of file rfield.h.

Referenced by diatomics::H2_X_sink_and_source(), rfield_opac_malloc(), rfield_opac_zero(), and RT_OTS_Update().

realnum * t_rfield::flux_beam_const
realnum* t_rfield::flux_beam_const_save

Definition at line 202 of file rfield.h.

Referenced by ContSetIntensity(), IterRestart(), rfield_opac_malloc(), and rfield_opac_zero().

realnum* t_rfield::flux_beam_time

this is the variable and constant parts of the above

Definition at line 76 of file rfield.h.

Referenced by ContSetIntensity(), extin(), flux_correct_isotropic(), IterRestart(), rfield_opac_malloc(), RT_continuum(), RT_diffuse(), ZoneEnd(), and ZoneStart().

realnum* t_rfield::flux_isotropic

this is the isotropic part of the constant continuum

Definition at line 73 of file rfield.h.

Referenced by ContSetIntensity(), extin(), IterRestart(), rfield_opac_malloc(), RT_continuum(), RT_diffuse(), set_xIntensity(), ZoneEnd(), and ZoneStart().

realnum * t_rfield::flux_isotropic_save

Definition at line 202 of file rfield.h.

Referenced by ContSetIntensity(), IterRestart(), rfield_opac_malloc(), and rfield_opac_zero().

realnum * t_rfield::flux_time_beam_save

Definition at line 202 of file rfield.h.

Referenced by ContSetIntensity(), IterRestart(), rfield_opac_malloc(), and rfield_opac_zero().

realnum** t_rfield::flux_total_incident

save incident continuum for later iterations

Definition at line 201 of file rfield.h.

Referenced by cdSPEC(), cdSPEC2(), ContSetIntensity(), IterEnd(), IterRestart(), pltcon(), rfield_opac_malloc(), rfield_opac_zero(), RT_continuum(), and SaveDo().

double t_rfield::FluxFaint

faintest high energy flux to consider, set with set flxfnt command

Definition at line 58 of file rfield.h.

Referenced by InitDefaultsPreparse(), ParseSet(), setTrimming(), and ZoneEnd().

Illuminate::IlluminationType t_rfield::Illumination[LIMSPC]
long int t_rfield::ip1000A

this is the wavelength where Bertoldi & Draine estimate the Habing field

Definition at line 256 of file rfield.h.

Referenced by ContCreatePointers(), and mole_h_reactions().

long int t_rfield::ipB_filter

array indices for centers of B and V filters

Definition at line 242 of file rfield.h.

Referenced by ContCreatePointers(), and radius_increment().

long int t_rfield::ipEnerGammaRay

Definition at line 447 of file rfield.h.

Referenced by ContCreatePointers(), and ContSetIntensity().

long int t_rfield::ipEnergyBremsThin

ipEnergyBremsThin is index for lowest energy thin to ff abs and plasma frequency EnergyBremsThin is energy there, Ryd

Definition at line 228 of file rfield.h.

Referenced by t_gaunt::brems_cool(), ContRate(), CoolEvaluate(), GrainRateDr(), InitSimPostparse(), IterRestart(), IterStart(), RT_OTS_ChkSum(), and tauff().

long int t_rfield::ipFineConVelShift

shift in fine continuum rest frame scale due to velocity gradient, rest frame is velocity of first zone, positive means that first zone is blue shifted relative to current zone. This is a decelerating flow. Evaluated in RT_line_all

Definition at line 399 of file rfield.h.

Referenced by PressureRadiationLine(), rfield_opac_malloc(), RT_fine_clear(), RT_line_escape(), RT_line_fine_opacity(), and RT_line_one_tauinc().

long int t_rfield::ipG0_DB96_hi

Definition at line 250 of file rfield.h.

Referenced by ContCreatePointers(), ContSetIntensity(), and mole_h_reactions().

long int t_rfield::ipG0_DB96_lo

these are the lower and upper bounds for the G0 radiation field used by Tielens & Hollenbach in their PDR work

Definition at line 250 of file rfield.h.

Referenced by ContCreatePointers(), ContSetIntensity(), and mole_h_reactions().

long int t_rfield::ipG0_spec_hi

Definition at line 253 of file rfield.h.

Referenced by ContCreatePointers(), and mole_h_reactions().

long int t_rfield::ipG0_spec_lo

these are the lower and upper bounds for the special G0 radiation field

Definition at line 253 of file rfield.h.

Referenced by ContCreatePointers(), and mole_h_reactions().

long int t_rfield::ipG0_TH85_hi

Definition at line 246 of file rfield.h.

Referenced by ContCreatePointers(), and mole_h_reactions().

long int t_rfield::ipG0_TH85_lo

these are the lower and upper bounds for the G0 radiation field used by Tielens & Hollenbach in their PDR work

Definition at line 246 of file rfield.h.

Referenced by ContCreatePointers(), and mole_h_reactions().

long int t_rfield::ipMaxBolt

index of highest cell with positive Boltzmann factor

Definition at line 232 of file rfield.h.

Referenced by t_gaunt::brems_cool(), t_gaunt::brems_rt(), CoolEvaluate(), t_gaunt::p_setup_brems(), RT_diffuse(), SaveDo(), and tfidle().

long int* t_rfield::ipnt_coarse_2_fine

and array indices for lower and upper bounds of each coarse continuum mapped onto the fine continuum 0 (false) if fine continuum does not extend to these cells

Definition at line 380 of file rfield.h.

Referenced by ContCreateMesh(), getCoarseTransCoef(), rfield_opac_malloc(), and RT_recom_effic().

long int t_rfield::ipPlasma

pointer to current plasma frequency

Definition at line 434 of file rfield.h.

Referenced by ContRate(), ContSetIntensity(), EdenChange(), RT_continuum(), RT_diffuse(), and RT_OTS_Update().

long int t_rfield::ipPlasmax

pointer to largest plasma freq encountered

Definition at line 434 of file rfield.h.

Referenced by ContSetIntensity().

long int t_rfield::ipSpec

Definition at line 308 of file rfield.h.

Referenced by conorm(), ContSetIntensity(), ffun(), ffun1(), and qintr().

long int t_rfield::ipV_filter

Definition at line 242 of file rfield.h.

Referenced by ContCreatePointers(), radius_increment(), and SaveDo().

bool t_rfield::lgBeamed[LIMSPC]
bool t_rfield::lgBlockHIon

Definition at line 98 of file rfield.h.

Referenced by ParseCommands(), ParseExtinguish(), and zero().

bool t_rfield::lgCMB_set

this flag says that CMB has been set

Definition at line 108 of file rfield.h.

Referenced by InitDefaultsPreparse(), ParseBackgrd(), ParseCMB(), and PrtComment().

bool t_rfield::lgComptonOn

Definition at line 281 of file rfield.h.

Referenced by cmshft(), highen(), InitDefaultsPreparse(), and ParseDont().

bool t_rfield::lgComUndr

set true if Compton cooling underflows

Definition at line 284 of file rfield.h.

Referenced by PrtComment(), and PrtHeader().

bool t_rfield::lgDoLineTrans

option to not do line transfer, set false with no line transfer command

Definition at line 101 of file rfield.h.

Referenced by outline_base(), ParseCommands(), ParseDont(), PresTotCurrent(), RT_line_all(), RT_line_one_escape(), RT_line_one_fine(), and zero().

bool t_rfield::lgGamrOK

Definition at line 440 of file rfield.h.

Referenced by InitDefaultsPreparse(), ParseInterp(), and PrtComment().

bool t_rfield::lgHabing

flag set if incident radiation field less than 10x the Habing ISM field

Definition at line 359 of file rfield.h.

Referenced by ContSetIntensity(), PrtComment(), and zero().

bool t_rfield::lgHeIIOTS

flag saying whether to include HeII Lya and rec cont ots in the radiation field - - usually true, set false with no HeII ots command

Definition at line 412 of file rfield.h.

Referenced by ParseDont(), RT_OTS(), and zero().

bool t_rfield::lgHionRad

lgHionRad set to .true. if no hydrogen ionizing radiation

Definition at line 450 of file rfield.h.

Referenced by ContSetIntensity(), and PrtComment().

bool t_rfield::lgHPhtOK

Definition at line 440 of file rfield.h.

Referenced by InitDefaultsPreparse(), ParseInterp(), and PrtComment().

bool t_rfield::lgInducProcess

turn off continuum pumping, set with 'no induced processes' command

Definition at line 235 of file rfield.h.

Referenced by GammaBn(), diatomics::H2_LevelPops(), InitDefaultsPreparse(), iso_update_rates(), OpacityAdd1SubshellInduc(), ParseDont(), RT_diffuse(), RT_line_pumping(), RT_OTS_Update(), and setXtraRatesO1().

bool t_rfield::lgIonizReevaluate

says whether to constantly reevaluate ionization, normally true, set false with no ionization reevaluate command

Definition at line 112 of file rfield.h.

Referenced by ConvBase(), ParseCommands(), ParseDont(), and zero().

bool t_rfield::lgKillOTSLine

flag saying whether to kill ots lines

Definition at line 421 of file rfield.h.

Referenced by ParseDont(), RT_OTS_Update(), and zero().

bool t_rfield::lgKillOutCont

flag saying whether to kill outward only continuum

Definition at line 418 of file rfield.h.

Referenced by ParseDont(), RT_diffuse(), and zero().

bool t_rfield::lgKillOutLine

flag saying whether to kill outward only lines

Definition at line 415 of file rfield.h.

Referenced by ParseDont(), RT_diffuse(), and zero().

bool t_rfield::lgLyaOTS

flag saying whether to include H1 Lya ots in the radiation field - usually true, set false with no Lya ots command

Definition at line 408 of file rfield.h.

Referenced by ParseDont(), RT_OTS(), and zero().

bool t_rfield::lgMMok

these are series of flags that say whether different parts of the continuum where entered ok

Definition at line 440 of file rfield.h.

Referenced by InitDefaultsPreparse(), ParseInterp(), and PrtComment().

bool t_rfield::lgMustBlockHIon

this is set true is one of incident continua is expected to have all H-ionizing radiation blocked. That is done separately with the extinguish command.

Definition at line 94 of file rfield.h.

Referenced by ParseCommands(), ParseTable(), and zero().

bool t_rfield::lgOcc1Hi

flag saying that occupation number at 1 Ryd > 1

Definition at line 461 of file rfield.h.

Referenced by ContSetIntensity(), and PrtComment().

bool t_rfield::lgOpacityFine

option to turn off fine opacities with no fine opacity command

Definition at line 402 of file rfield.h.

Referenced by InitDefaultsPreparse(), ParseCommands(), ParseDont(), PressureRadiationLine(), RT_line_escape(), RT_line_fine_opacity(), RT_line_one_tauinc(), RT_recom_effic(), and RT_tau_inc().

bool t_rfield::lgOpacityReevaluate

says whether to constantly reevaluate opacities, normally true, set false with no opacity reevaluate command

Definition at line 105 of file rfield.h.

Referenced by ConvBase(), ParseCommands(), ParseDont(), and zero().

bool t_rfield::lgOutOnly

another flag, true if outward only - used to multiply the ConInterOut continuum for creating the interactive continuum - when false, no outward only, this is not added

Definition at line 224 of file rfield.h.

Referenced by GammaBn(), GammaK(), GammaPrt(), InitDefaultsPreparse(), ParseDiffuse(), RT_OTS_ChkSum(), and RT_OTS_Update().

bool t_rfield::lgPlasNu

following deal with plasma frequency, which enters the continuum array for even moderate densities due to very low frequencies considered set true if plasma freq enters energy array

Definition at line 426 of file rfield.h.

Referenced by ContSetIntensity(), EdenChange(), iso_level(), and PrtComment().

bool t_rfield::lgSaveOpacityFine

says that fine optical depths will be saved, so save them

Definition at line 404 of file rfield.h.

Referenced by ParseSave(), and zero().

bool t_rfield::lgTimeVary[LIMSPC]
bool t_rfield::lgUSphON

lgUSphON flag set when we hit Stromgren radius in spherical geometry

Definition at line 353 of file rfield.h.

Referenced by dense_fabden(), InitSimPostparse(), IterRestart(), optimize_func(), PrtFinal(), and radius_increment().

bool t_rfield::lgXRayOK

Definition at line 440 of file rfield.h.

Referenced by InitDefaultsPreparse(), ParseInterp(), and PrtComment().

long int* t_rfield::line_count

used to keep track of number of lines per freq interval

Definition at line 61 of file rfield.h.

Referenced by ipLineEnergy(), rfield_opac_malloc(), RT_OTS_PrtRate(), and SaveDo().

long t_rfield::ncont[LIMSPC]

Definition at line 321 of file rfield.h.

Referenced by conorm(), ffun1(), InitDefaultsPreparse(), ParseInterp(), ParseTable(), and ReadTable().

long t_rfield::nfine
long int t_rfield::nflux

================================================================================= the following define the continuum energy scale and its limits nflux is number of continuum points needed to get to high energy end of this continuum. this is initially set to nupper in ContCreatePointers, and then trimmed down in ContSetIntensity. It is finally reset in ConvInitSolution, to make sure continuum includes all possible line and continuum emission produced by the code

Definition at line 48 of file rfield.h.

Referenced by AGN_Hemis(), t_gaunt::brems_cool(), t_gaunt::brems_opac(), t_gaunt::brems_rt(), cdDrive(), cdSPEC(), cdSPEC2(), cmshft(), ContCreateMesh(), ContNegative(), ContRate(), ContSetIntensity(), ConvInitSolution(), CoolEvaluate(), eeBremsSpectrum(), ffun1(), FindStrongestLineLabels(), flux_correct_isotropic(), GammaBn(), GammaK(), GammaPrt(), getCoarseTransCoef(), GetDissociationRateCoeff(), diatomics::GetHeatRate(), GrainCharge(), GrainMakeDiffuse(), GrainUpdateRadius2(), highen(), IncidentContinuumHere(), ion_photo(), ion_trim(), ion_trim_init(), iso_photo(), iso_rad_rec_cooling_discrete(), IterEnd(), lincom(), OpacityAdd1Element(), OpacityAdd1Subshell(), OpacityAdd1SubshellInduc(), OpacityAddTotal(), OpacityCreateAll(), outsum(), t_gaunt::p_setup_brems(), pltcon(), pltopc(), pnegopc(), PresTotCurrent(), PrtComment(), PrtFinal(), PrtHeader(), radius_first(), RT_continuum(), RT_DestProb(), RT_diffuse(), RT_iso_integrate_RRC(), RT_OTS(), RT_OTS_AddCont(), RT_OTS_AddLine(), RT_OTS_ChkSum(), RT_OTS_Update(), RT_OTS_Zero(), RT_recom_effic(), SanityCheckBegin(), save_opacity(), SaveDo(), saveFITSfile(), SaveNewContinuum(), setTrimming(), sum_radiation(), sumcon(), tauff(), UpdatePot(), UpdatePot1(), ZoneEnd(), and ZoneStart().

long int t_rfield::nflux_with_check

number of frequency cells needed to get full energy resolution of code

Definition at line 51 of file rfield.h.

Referenced by AtlasInterpolate(), diatomics::CalcPhotoionizationRate(), cdDrive(), cdSPEC(), cdSPEC2(), ContCreateMesh(), ContCreatePointers(), ContSetIntensity(), CoolEvaluate(), CoStarInterpolate(), emergent_line(), extin(), ffun1(), GetBins(), GetModel(), GrainsInit(), GrainUpdateRadius2(), GridGatherInCloudy(), GridInterpolate(), HaardtMadauInterpolate(), InitGridBin(), InitSimPostparse(), InterpolateGridCoStar(), InterpolateModel(), InterpolateModelCoStar(), InterpolateRectGrid(), IterRestart(), IterStart(), Kurucz79Interpolate(), lgCompileAtmosphere(), lgReadAtmosphereTail(), lgValidModel(), mie_calc_ial(), mie_write_opc(), MihalasInterpolate(), OpacityAddTotal(), diatomics::OpacityCreate(), OpacityCreate1Element(), OpacityCreateAll(), OpacityZero(), OpacityZeroOld(), t_gaunt::p_gauntff_vec(), t_gaunt::p_setup_brems(), PlanckIntegral(), pltcon(), pltopc(), punchFITS_EnergyData(), qheat(), qintr(), radius_next(), RauchInterpolateCOWD(), RauchInterpolateHCa(), RauchInterpolateHelium(), RauchInterpolateHNi(), RauchInterpolateHpHe(), RauchInterpolateHydr(), RauchInterpolatePG1159(), RebinAtmosphere(), resetCoarseTransCoef(), rfield_opac_malloc(), RT_diffuse(), RT_OTS_AddCont(), RT_OTS_PrtRate(), RT_OTS_Update(), RT_recom_effic(), RT_tau_init(), RT_tau_reset(), save_opacity(), SaveDo(), state_get_put(), tfidle(), TlustyInterpolate(), UpdatePot1(), ValidateGrid(), ValidateMesh(), WernerInterpolate(), WMBASICInterpolate(), and ZoneEnd().

long int t_rfield::nPositive

number of cells to include highest continuum cell with non-zero photon flux, loops over continuum should go to <nPositive to include positive cells

Definition at line 55 of file rfield.h.

Referenced by cdDrive(), ContCreateMesh(), ContSetIntensity(), ConvInitSolution(), GammaBn(), GammaK(), GrainDrift(), GrainElecEmis1(), GrainsInit(), GrainTemperature(), highen(), PE_init(), qheat_init(), setTrimming(), UpdatePot(), UpdatePot1(), and ZoneEnd().

long int t_rfield::nShape

nShape is SED shape index number, this must equal the number of field intensities that are specified ipSpec is radiation field source number

Definition at line 308 of file rfield.h.

Referenced by conorm(), ContSetIntensity(), DynaIterStart(), ffun(), ffun1(), InitGridASCII(), InitGridBin(), InterpolateGridCoStar(), InterpolateRectGrid(), ParseAgn(), ParseBackgrd(), ParseBlackbody(), ParseBremsstrahlung(), ParseCMB(), ParseCommands(), ParseIlluminate(), ParseInterp(), ParseLaser(), ParsePowerlawContinuum(), ParseTable(), and ReadTable().

long int t_rfield::nZonePlsFrqEval

Definition at line 432 of file rfield.h.

Referenced by EdenChange(), and t_rfield().

realnum t_rfield::occ1nu

Definition at line 453 of file rfield.h.

Referenced by ContSetIntensity(), and PrtComment().

realnum t_rfield::occmax

these store photon occupation numbers at various energies in the continuum

Definition at line 453 of file rfield.h.

Referenced by ContSetIntensity(), and PrtComment().

realnum t_rfield::occmnu

Definition at line 453 of file rfield.h.

Referenced by ContSetIntensity(), and PrtComment().

realnum* t_rfield::OccNumbContEmitOut

outward emitted continuum

Definition at line 64 of file rfield.h.

Referenced by iso_ionize_recombine(), IterRestart(), rfield_opac_malloc(), rfield_opac_zero(), RT_continuum(), and RT_line_pumping().

realnum* t_rfield::OccNumbDiffCont

OccNumbDiffCont is the continuum occupation number, for local diffuse continuum

Definition at line 122 of file rfield.h.

Referenced by IterRestart(), rfield_opac_malloc(), rfield_opac_zero(), RT_continuum(), and RT_diffuse().

realnum* t_rfield::OccNumbIncidCont

OccNumbIncidCont is the continuum occupation number for the attenuated incident ONLY

Definition at line 119 of file rfield.h.

Referenced by ContSetIntensity(), highen(), iso_ionize_recombine(), IterRestart(), PrtHeader(), rfield_opac_malloc(), RT_continuum(), RT_line_pumping(), and SaveDo().

double t_rfield::opac_mag_B_extended

Definition at line 267 of file rfield.h.

Referenced by radius_increment().

double t_rfield::opac_mag_B_point

these are total opacities at these wavelengths, used to stop at exact Av

Definition at line 267 of file rfield.h.

Referenced by radius_increment().

double t_rfield::opac_mag_V_extended

Definition at line 267 of file rfield.h.

Referenced by radius_increment(), and radius_next().

double t_rfield::opac_mag_V_point

Definition at line 267 of file rfield.h.

Referenced by radius_increment(), and radius_next().

realnum t_rfield::OpticalDepthScaleFactor[LIMSPC]

1 / cos( illumination angle, angle measured from normal, default is angle=zero, normal illumination, DirectCos = 1

Definition at line 300 of file rfield.h.

Referenced by ContSetIntensity(), InitDefaultsPreparse(), and ParseIlluminate().

realnum * t_rfield::otscon
realnum* t_rfield::otslin
realnum ** t_rfield::otssav

Definition at line 185 of file rfield.h.

Referenced by IterRestart(), IterStart(), and rfield_opac_malloc().

realnum** t_rfield::outlin
realnum * t_rfield::outlin_noplot
realnum t_rfield::plsfrq

plasma frequency for current position in slab

Definition at line 428 of file rfield.h.

Referenced by ContSetIntensity(), EdenChange(), iso_level(), TransitionProxy::outline(), PressureRadiationLine(), RT_line_one_escape(), RT_line_one_fine(), RT_line_one_tauinc(), and tauff().

realnum t_rfield::plsfrqmax

store highest energy plasma frequency encountered

Definition at line 428 of file rfield.h.

Referenced by ContSetIntensity(), EdenChange(), and PrtComment().

realnum t_rfield::qbal

Definition at line 339 of file rfield.h.

Referenced by ContSetIntensity(), PrtHeader(), and radius_first().

realnum t_rfield::qhe

Definition at line 339 of file rfield.h.

Referenced by ContSetIntensity(), and PrtHeader().

realnum t_rfield::qheii

Definition at line 339 of file rfield.h.

Referenced by ContSetIntensity(), and PrtHeader().

realnum t_rfield::qhtot

these are total numbers of photons over various energy ranges

Definition at line 339 of file rfield.h.

Referenced by ContSetIntensity(), lines_hydro(), PrtFinal(), PrtHeader(), radius_first(), and RT_tau_init().

realnum t_rfield::qrad

Definition at line 339 of file rfield.h.

Referenced by ContSetIntensity().

realnum t_rfield::qtot

Definition at line 339 of file rfield.h.

Referenced by ContSetIntensity(), and IterStart().

double t_rfield::range[LIMSPC][2]

energy range over which the intensity is integrated for normalizing each continuum source that contributes to the total source

Definition at line 329 of file rfield.h.

Referenced by conorm(), InitDefaultsPreparse(), ParseAbsMag(), ParseBackgrd(), ParseBlackbody(), ParseCMB(), ParseEnergy(), ParseF_nu(), ParseIntensity(), ParseIonPar(), ParseLuminosity(), ParsePhi(), ParseQH(), ParseRangeOption(), ParseRatio(), and ParseTable().

realnum** t_rfield::reflin
double t_rfield::RSFCheck[LIMSPC]

used to store a check on the continuum mesh resolution scale factor this is used for the output of the SAVE TRANSMITTED CONTINUUM command

Definition at line 325 of file rfield.h.

Referenced by conorm(), InitDefaultsPreparse(), InitGridASCII(), InitGridBin(), and ReadTable().

realnum t_rfield::rstrom

the Stromgren radius var set to get u spherical

Definition at line 355 of file rfield.h.

Referenced by dense_fabden(), optimize_func(), PrtFinal(), and radius_increment().

double t_rfield::slope[LIMSPC]
double t_rfield::spfac[LIMSPC]

Definition at line 286 of file rfield.h.

Referenced by conorm(), and ffun().

double* t_rfield::SummedCon

these are energy-by-energy sums of various arrays, used to save time in evaluating rate integrals

Definition at line 163 of file rfield.h.

Referenced by ContNegative(), GammaBn(), GammaK(), GammaPrt(), GrainElecEmis1(), GrainTemperature(), highen(), IterRestart(), qheat_init(), rfield_opac_malloc(), rfield_opac_zero(), RT_continuum(), RT_OTS_ChkSum(), RT_OTS_Update(), RT_OTS_Zero(), setTrimming(), ZoneEnd(), and ZoneStart().

realnum* t_rfield::SummedDif
realnum* t_rfield::SummedDifSave

Definition at line 166 of file rfield.h.

Referenced by IterRestart(), IterStart(), and rfield_opac_malloc().

realnum* t_rfield::SummedOcc
realnum t_rfield::tbr4nu

Definition at line 453 of file rfield.h.

Referenced by ContSetIntensity(), and PrtComment().

realnum t_rfield::tbrmax

Definition at line 453 of file rfield.h.

Referenced by ContSetIntensity(), and PrtComment().

realnum t_rfield::tbrmnu

Definition at line 453 of file rfield.h.

Referenced by ContSetIntensity(), and PrtComment().

vector<realnum> t_rfield::tFluxLog[LIMSPC]

Definition at line 319 of file rfield.h.

Referenced by ffun1(), InitDefaultsPreparse(), ParseInterp(), ParseTable(), and ReadTable().

realnum t_rfield::time_continuum_scale

==1 for time steady, when continuum varies with time, is scale factor

Definition at line 205 of file rfield.h.

Referenced by DynaIterEnd(), DynaIterStart(), DynaPunchTimeDep(), IterRestart(), and zero().

vector<Energy> t_rfield::tNu[LIMSPC]

these are used for interpolate and table commands, all have two indices, continuum and frequency tNuRyd is the linear energy Rydberg of continuum point must be explicit arrays again so that table commands will work before continuum defined.

Definition at line 316 of file rfield.h.

Referenced by conorm(), ffun1(), InitDefaultsPreparse(), InterpolateGridCoStar(), InterpolateRectGrid(), ParseInterp(), ParseTable(), and ReadTable().

realnum* t_rfield::TotDiff2Pht

saves total two photon continuum for debugging, set in RT_diffuse

Definition at line 179 of file rfield.h.

Referenced by rfield_opac_malloc(), RT_diffuse(), and SaveDo().

double t_rfield::totpow[LIMSPC]
realnum* t_rfield::trans_coef_total
private

these are TOTAL transmission coefficients for fine opacity degraded to coarse continuum

Definition at line 373 of file rfield.h.

Referenced by getCoarseTransCoef(), resetCoarseTransCoef(), and setCoarseTransCoefPtr().

bool t_rfield::trans_coef_total_stale

Definition at line 376 of file rfield.h.

Referenced by getCoarseTransCoef(), resetCoarseTransCoef(), and RT_tau_inc().

vector<realnum> t_rfield::tslop[LIMSPC]

this is the log of f_nu of continuum point

Definition at line 317 of file rfield.h.

Referenced by conorm(), ffun1(), InitDefaultsPreparse(), InterpolateGridCoStar(), InterpolateRectGrid(), ParseInterp(), and ParseTable().

realnum t_rfield::uh

hydrogen ionization parameter

Definition at line 347 of file rfield.h.

Referenced by ContSetIntensity(), ion_trim_init(), PrtComment(), PrtFinal(), PrtHeader(), and radius_first().

realnum t_rfield::uheii

helium ion ionization parameter

Definition at line 350 of file rfield.h.

Referenced by ContSetIntensity(), PrtFinal(), and PrtHeader().

double* t_rfield::vexp_arg

helper array for vexp() calls

Definition at line 133 of file rfield.h.

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


The documentation for this struct was generated from the following files: