t_dense Struct Reference

#include <dense.h>

Collaboration diagram for t_dense:

Collaboration graph
[legend]

Public Member Functions

 t_dense ()

Data Fields

realnum gas_phase [LIMELM]
realnum AtomicWeight [LIMELM]
realnum xMolecules [LIMELM]
realnum H_sum_in_CO
realnum xMassDensity
realnum xMassDensity0
realnum pden
realnum wmole
realnum xNucleiTotal
realnum xMassTotal
realnum HCorrFac
long int IonLow [LIMELM+1]
long int IonHigh [LIMELM+1]
realnum xIonDense [LIMELM+3][LIMELM+1]
realnum AbundanceLimit
bool lgElmtOn [LIMELM]
bool lgSetIoniz [LIMELM]
realnum SetIoniz [LIMELM][LIMELM+1]
char chDenseLaw [5]
bool lgDenseInitConstant
double DensityLaw [10]
bool lgAsChoose [LIMELM][LIMELM]
bool lgCSChoose [LIMELM][LIMELM]
realnum frad [LIMTABDLAW]
realnum fhden [LIMTABDLAW]
long int nvals
bool lgDLWDepth
double eden
realnum eden_f
double density_low_limit
long int nzEdenBad
realnum EdenSet
realnum EdenExtra
double SqrtEden
double EdenHCorr
double EdenHontoHCorr
double EdenTrue
double eden_from_metals
bool lgEdenBad
double edensqte
double cdsqte
realnum DensityPower
realnum rscale
realnum den0
bool lgDenFlucOn
bool lgDenFlucRadius
realnum flong
realnum cfirst
realnum csecnd
realnum flcPhase

Detailed Description

variables dealing with pressure across model

Definition at line 26 of file dense.h.


Constructor & Destructor Documentation

t_dense::t_dense (  )  [inline]

Definition at line 28 of file dense.h.

References AtomicWeight.


Field Documentation

realnum t_dense::AbundanceLimit

this is lower limit to abundance of element that will be include in the calculation, default is zero, set with command ELEMENT LIMIT OFF XXX command

Definition at line 124 of file dense.h.

Referenced by InitDefaultsPreparse().

realnum t_dense::AtomicWeight[LIMELM]

vector of atomic weights for all elements, set in zerologic

Definition at line 69 of file dense.h.

Referenced by collision_strength_VF01(), CS_l_mixing_PS64(), iso_collide(), iso_satellite_update(), iso_state_lifetime(), mie_read_form(), newspecies(), pah1_fun(), rfield_opac_malloc(), ritoa(), t_dense(), and velset().

double t_dense::cdsqte

cdsqte is eden/sqrte times 8.629e-6 - this multiplies the collision strength to produce the deexcitation rate coefficient, s-1 8.629e-6 is COLL_CONST

Definition at line 211 of file dense.h.

Referenced by atom_level2(), atom_level3(), atom_pop2(), atom_pop3(), atom_pop5(), AtomSeqBeryllium(), ConvRate2CS(), CoolCalc(), CoolCarb(), CoolOxyg(), CoolSili(), emit_frac(), H21_cm_pops(), LineConvRate2CS(), lines_lv1_k_zn(), lines_lv1_li_ne(), and oi_level_pops().

realnum t_dense::cfirst

Definition at line 228 of file dense.h.

Referenced by lgConvPres(), and ParseFluc().

char t_dense::chDenseLaw[5]

label describing the density law for current calculation 'DLW2' is dense_tabden interpolated table

Definition at line 143 of file dense.h.

Referenced by AgeCheck(), ConvFail(), InitDefaultsPreparse(), lgConvPres(), ParseConstant(), ParseDLaw(), ParseDynaTime(), ParseDynaWind(), ParseFluc(), ParseGlobule(), ParseHDEN(), ParseTLaw(), PresTotCurrent(), and ZoneStart().

realnum t_dense::csecnd

Definition at line 229 of file dense.h.

Referenced by lgConvPres(), and ParseFluc().

realnum t_dense::den0

Definition at line 217 of file dense.h.

Referenced by lgConvPres(), and ParseHDEN().

double t_dense::density_low_limit

lowest allowed density for any ion = if density falls below this then set to zero in ion_trim

Definition at line 174 of file dense.h.

Referenced by InitCoreload(), ion_trim(), and RT_tau_inc().

double t_dense::DensityLaw[10]

parameters set by the dlaw command, used by dense_fabden (maybe)

Definition at line 150 of file dense.h.

Referenced by dense_fabden().

realnum t_dense::DensityPower

parameters dealing with hydrogen density scaling as power of radius DensityPower is power

Definition at line 215 of file dense.h.

Referenced by lgConvPres(), and ParseHDEN().

double t_dense::eden

electron density, units cm-3

Definition at line 167 of file dense.h.

Referenced by AGN_Hemis(), atmdat_DielSupres(), atmol_popsolve(), atom_level3(), cdEDEN_last(), CO_update_species_cache(), collision_strength_VF01(), ConvEdenIoniz(), ConvFail(), ConvInitSolution(), ConvIoniz(), ConvPresTempEdenIoniz(), ConvTempEdenIoniz(), CoolCarb(), CoolChlo(), CoolEvaluate(), CoolIron(), CoolNick(), CoolSili(), CoolSulf(), CS_l_mixing_PS64(), CS_l_mixing_VF01(), CS_ThermAve_PR78(), da(), DoSatelliteLines(), DumpLine(), Fe2_cooling(), FeIILevelPops(), GetLineRec(), GrainDrift(), GrainDrive(), GrainElecRecomb1(), H2_LevelPops(), H2_X_coll_rate_evaluate(), hmole(), hmole_reactions(), HydroLevel(), HydroT2Low(), HyperfineCreate(), ion_recombAGN(), IonCalci(), IonPotas(), iso_collapsed_bnl_set(), iso_continuum_lower(), iso_cool(), iso_ionize_recombine(), iso_satellite_update(), IterRestart(), lgCheckAsserts(), lgConvEden(), lines(), lines_continuum(), lines_hydro(), lines_lv1_k_zn(), lines_lv1_li_ne(), lines_lv1_na_ar(), MeanInc(), OpacityAddTotal(), PressureChange(), PrtHeader(), PrtHydroTrace1(), PrtHydroTrace1a(), PrtZone(), Punch_Line_RT(), radius_increment(), RT_diffuse(), RT_line_static(), RT_LineWidth(), RT_OTS(), RT_stark(), RT_tau_inc(), RT_tau_init(), tauff(), tfidle(), and ZoneStart().

realnum t_dense::eden_f

electron density, units cm-3, floating point version for compatibility in CO_mole

Definition at line 170 of file dense.h.

Referenced by CO_Init(), and CO_update_species_cache().

double t_dense::eden_from_metals

fraction of electron density due to ions rather than molecules and grains

Definition at line 200 of file dense.h.

Referenced by ConvEdenIoniz().

realnum t_dense::EdenExtra

extra electron density, set with eden command

Definition at line 183 of file dense.h.

Referenced by eden_sum().

double t_dense::EdenHCorr

EdenHCorr is eden + hi * 1.7e-4, includes correction for H atom collisions, units cm-3

Definition at line 190 of file dense.h.

Referenced by CoolOxyg(), HydroLevel(), HydroT2Low(), ion_collis(), iso_collide(), iso_cool(), iso_ionize_recombine(), iso_level(), IterRestart(), lines_helium(), and PrtHydroTrace1a().

double t_dense::EdenHontoHCorr

above may not be correct for H0 onto H0, being homonuclear - this is parallel version for H0 - H0 collisions

Definition at line 194 of file dense.h.

Referenced by HydroLevel(), HydroT2Low(), iso_cool(), iso_level(), and PrtHydroTrace1a().

realnum t_dense::EdenSet

EdenSet electron density set with set eden command

Definition at line 180 of file dense.h.

Referenced by ParseSet().

double t_dense::edensqte

edensqte is eden/sqrte

Definition at line 206 of file dense.h.

double t_dense::EdenTrue

this is the true eden as set in eden_sum, we will try to converge eden to this

Definition at line 197 of file dense.h.

Referenced by ConvBase(), ConvEdenIoniz(), ConvFail(), ConvIoniz(), CoolEvaluate(), eden_sum(), IterRestart(), lgConvEden(), lines_grains(), and RT_OTS().

realnum t_dense::fhden[LIMTABDLAW]

Definition at line 158 of file dense.h.

Referenced by dense_tabden(), ParseDLaw(), and ParseTLaw().

realnum t_dense::flcPhase

Definition at line 230 of file dense.h.

Referenced by InitDefaultsPreparse(), lgConvPres(), and ParseFluc().

realnum t_dense::flong

parameters for the density fluctuations command

Definition at line 227 of file dense.h.

Referenced by InitDefaultsPreparse(), lgConvPres(), ParseFluc(), and radius_first().

realnum t_dense::frad[LIMTABDLAW]

frad is log radius in cm, fhden is log hden

Definition at line 157 of file dense.h.

Referenced by dense_tabden(), ParseDLaw(), and ParseTLaw().

realnum t_dense::gas_phase[LIMELM]

dense.gas_phase is the total gas phase abundances, including anything within molecules, but not including grains

Definition at line 66 of file dense.h.

Referenced by AbundancesPrt(), ChemImportance(), CO_drive(), ContRate(), ConvEdenIoniz(), ConvFail(), ConvInitSolution(), ConvPresTempEdenIoniz(), ConvTempEdenIoniz(), DynaIonize(), DynaPresChngFactor(), DynaPrtZone(), DynaPunch(), DynaPunchTimeDep(), DynaSaveLast(), Fe2_cooling(), GrainChargeTemp(), GrainDrive(), GrainUpdateRadius1(), GrnStdDpth(), GrnVryDpth(), H2_LevelPops(), hmole(), ion_solver(), ion_trim(), IonAlumi(), IonBeryl(), IonBoron(), IonCarbo(), IonHelium(), IonIron(), IonMagne(), IonNeon(), IonNitro(), IonOxyge(), IonSilic(), IonSodiu(), IterRestart(), lgConvPres(), lgIonizConverg(), lgMolecAver(), MeanInc(), ParseDLaw(), ParseFluc(), ParseGlobule(), ParseHDEN(), PressureChange(), PresTotCurrent(), PrtComment(), PrtZone(), punch_opacity(), PunchDo(), radius_first(), and radius_next().

realnum t_dense::H_sum_in_CO

sum of all H in CO network

Definition at line 76 of file dense.h.

Referenced by IterRestart().

realnum t_dense::HCorrFac

this is scale factor that multiplies the correction factor for neutral hydrogen collisions, def 1, changed with set command

Definition at line 99 of file dense.h.

Referenced by ParseSet().

long int t_dense::IonHigh[LIMELM+1]

Definition at line 108 of file dense.h.

Referenced by ion_collis(), ion_photo(), ion_recomb(), ion_recombAGN(), ion_solver(), ion_trim(), IonIron(), IterRestart(), lines_general(), PrtLinePres(), RT_diffuse(), RT_line_all(), RT_line_driving(), RT_OTS(), and RT_tau_inc().

long int t_dense::IonLow[LIMELM+1]

indices for lowest stage of ionization of the elements on C scale, lowest is 0 for atom, -1 if element turned off, the first stage of ionization with positive abundance is [IonLow] where 0 is the atom, the highest stage of ionization with positive abundance is [IonHigh], NB NB so loops should be ion=IonLow, ion<=IonHigh

Definition at line 107 of file dense.h.

Referenced by CO_drive(), ion_collis(), ion_photo(), ion_recomb(), ion_recombAGN(), ion_solver(), ion_trim(), IonIron(), IonMagne(), IonNitro(), IonOxyge(), IonSulph(), IterRestart(), and lines_general().

bool t_dense::lgAsChoose[LIMELM][LIMELM]

options on set atomic data command

Definition at line 153 of file dense.h.

Referenced by InitDefaultsPreparse(), and ParseSet().

bool t_dense::lgCSChoose[LIMELM][LIMELM]

Definition at line 154 of file dense.h.

bool t_dense::lgDenFlucOn

set true when density fluctuations are turned on

Definition at line 220 of file dense.h.

Referenced by AbundancesSet(), InitDefaultsPreparse(), ParseFluc(), and PrtZone().

bool t_dense::lgDenFlucRadius

set false when fluctuations are over col den rather than radius, set with column options on fluctuations command

Definition at line 224 of file dense.h.

Referenced by InitDefaultsPreparse(), lgConvPres(), and ParseFluc().

bool t_dense::lgDenseInitConstant

Definition at line 147 of file dense.h.

Referenced by ConvInitSolution(), InitDefaultsPreparse(), lgConvPres(), and ParseConstant().

bool t_dense::lgDLWDepth

lg is true if depth, false if radius to be used

Definition at line 164 of file dense.h.

Referenced by dense_tabden(), ParseDLaw(), and ParseTLaw().

bool t_dense::lgEdenBad

flags set when bad electron density is detected

Definition at line 203 of file dense.h.

Referenced by ConvInitSolution(), and PrtComment().

bool t_dense::lgElmtOn[LIMELM]

array of logical variables saying whether an element is enable (true) or disabled (false). It is set totally true in zero and is set false with the "element off" command. In SetAbundances if can be reset so that an element that was disabled on the first model in a core load is not later enabled

Definition at line 131 of file dense.h.

Referenced by AbundancesPrt(), AbundancesSet(), Badnell_rec_init(), ChemImportance(), CO_drive(), ContCreatePointers(), ContRate(), ConvBase(), ConvIterCheck(), CoolNitr(), DoSatelliteLines(), GetStandardHeLines(), GrainChrgTransferRates(), GrainCollHeating(), GrainElecRecomb1(), GrainRateDr(), HeCollidSetup(), HighestIonStage(), InitCoreload(), IonAlumi(), IonArgon(), IonBeryl(), IonBoron(), IonCalci(), IonCarbo(), IonChlor(), IonChrom(), IonCobal(), IonCoppe(), IonFluor(), IonHelium(), IonIron(), IonLithi(), IonMagne(), IonManga(), IonNeon(), IonNicke(), IonNitro(), IonOxyge(), IonPhosi(), IonPotas(), IonScand(), IonSilic(), IonSodiu(), IonSulph(), IonTitan(), IonVanad(), IonZinc(), iso_allocate(), iso_assign_quantum_numbers(), iso_cool(), iso_create(), iso_recomb_malloc(), iso_recomb_setup(), iso_satellite(), iso_satellite_update(), iso_zero(), IterRestart(), lgCheckAsserts(), lgIonizConverg(), lines_helium(), lines_hydro(), lines_lv1_k_zn(), MeanIonRadius(), MeanIonVolume(), OpacityAddTotal(), OpacityCreateAll(), OpacityValenceRescale(), ParseCompile(), PresTotCurrent(), prt_smooth_predictions(), PrtAllTau(), PrtColumns(), PrtComment(), PrtMeanIon(), prtmet(), PrtZone(), PunchLineData(), PunchLineStuff(), radius_increment(), radius_next(), RT_line_all(), RT_OTS(), RT_stark(), RT_tau_init(), RT_tau_reset(), SanityCheckBegin(), state_get_put(), and UpdateRecomZ0().

bool t_dense::lgSetIoniz[LIMELM]

will we solve for ionization (false) or specify it with element ionization cmnd true

Definition at line 134 of file dense.h.

Referenced by InitCoreload(), ion_solver(), ion_trim(), IonHelium(), and PresTotCurrent().

long int t_dense::nvals

number of values in above table

Definition at line 161 of file dense.h.

Referenced by dense_tabden(), ParseDLaw(), and ParseTLaw().

long int t_dense::nzEdenBad

zone where bad electron density was detected

Definition at line 177 of file dense.h.

Referenced by ConvInitSolution(), and PrtComment().

realnum t_dense::pden

total number of particles per cubic centimeter

Definition at line 86 of file dense.h.

Referenced by ConvInitSolution(), and radius_first().

realnum t_dense::rscale

Definition at line 216 of file dense.h.

Referenced by lgConvPres(), and ParseHDEN().

realnum t_dense::SetIoniz[LIMELM][LIMELM+1]

dense.SetIoniz the ionization fractions that are set when lgSetIoniz set true, gas phase abundance is this times total aabundance Ionization fraction for [nelem][ion]

Definition at line 139 of file dense.h.

Referenced by ion_solver(), and IonHelium().

double t_dense::SqrtEden

square root of electron density, set in tfidle

Definition at line 186 of file dense.h.

Referenced by GrainDrift().

realnum t_dense::wmole

mean AMU per particle

Definition at line 89 of file dense.h.

Referenced by radius_first().

realnum t_dense::xIonDense[LIMELM+3][LIMELM+1]

at the moment 12CO, 13CO, and H2 are xIonDense[LIMELM][2], [L+1][3] and [L+2][1]

Definition at line 119 of file dense.h.

Referenced by AGN_Hemis(), atmol_popsolve(), atom_level2(), atom_level3(), atom_oi_calc(), t_fe2ovr_la::atoms_fe2ovr(), AtomSeqBeryllium(), AtomSeqBoron(), ChargeTransferUpdate(), ChargTranSumHeat(), CO_drive(), CO_Init(), ConvInitSolution(), ConvTempEdenIoniz(), CoolAlum(), CoolArgo(), CoolCalc(), CoolCarb(), CoolChlo(), CoolChro(), CoolDima(), CoolEvaluate(), CoolIron(), CoolMagn(), CoolNeon(), CoolNick(), CoolOxyg(), CoolPhos(), CoolScan(), CoolSili(), CoolSodi(), CoolSulf(), CoolTita(), CoolVana(), DoSatelliteLines(), eden_sum(), Fe11Lev5(), Fe13Lev5(), Fe2_cooling(), Fe3Lev14(), Fe4Lev12(), FeII_RT_Out(), FeIILevelPops(), FeIIPunPop(), FeIISumBand(), GetLineRec(), GrainChargeTemp(), GrainCollHeating(), GrainDrift(), GrainElecRecomb1(), GrainMakeDiffuse(), GrnStdDpth(), GrnVryDpth(), H21_cm_pops(), H2_X_coll_rate_evaluate(), HeatSum(), highen(), HighestIonStage(), hmole(), HydroRenorm(), HyperfineCreate(), ion_recomb(), ion_solver(), ion_trim(), IonAlumi(), IonBeryl(), IonBoron(), IonCarbo(), IonHelium(), IonIron(), IonMagne(), IonNeon(), IonNitro(), IonOxyge(), IonSilic(), IonSodiu(), iso_collide(), iso_continuum_lower(), iso_cool(), iso_ionize_recombine(), iso_satellite_update(), lgIonizConverg(), lgMolecAver(), ligbar(), lines(), lines_continuum(), lines_general(), lines_hydro(), lines_lv1_k_zn(), lines_lv1_li_ne(), lines_lv1_na_ar(), lines_molecules(), MakeCS(), MeanInc(), OpacityAdd1Element(), OpacityAddTotal(), PressureChange(), PresTotCurrent(), PrtLinePres(), PrtZone(), PunchLineStuff(), PunchSpecial(), radius_first(), radius_increment(), radius_next(), RT_diffuse(), RT_line_all(), RT_line_driving(), RT_line_static(), RT_OTS(), RT_tau_inc(), and UpdateRecomZ0().

realnum t_dense::xMassDensity

xMassDensity grams per cc

Definition at line 79 of file dense.h.

Referenced by ConvInitSolution(), DynaIonize(), DynaPresChngFactor(), DynaPrtZone(), lgConvPres(), and Magnetic_evaluate().

realnum t_dense::xMassDensity0

WJH: fiducial value that corresponds to hden set in init file, this is used for setting the mass-flux in dynamic models

Definition at line 83 of file dense.h.

Referenced by DynaFlux().

realnum t_dense::xMassTotal

total mass in grams

Definition at line 95 of file dense.h.

realnum t_dense::xMolecules[LIMELM]

dense.xMolecules density of elements locked in molecules, this is included in gas_phase

Definition at line 73 of file dense.h.

Referenced by hmole_step(), ion_solver(), and IterRestart().

realnum t_dense::xNucleiTotal

total number of nuclei, set in PressureTotal

Definition at line 92 of file dense.h.

Referenced by iso_continuum_lower().


The documentation for this struct was generated from the following file:
Generated on Mon Feb 16 12:14:39 2009 for cloudy by  doxygen 1.4.7