#include <dense.h>
Definition at line 22 of file dense.h.
t_dense::t_dense | ( | ) | [inline] |
float t_dense::AtomicWeight[LIMELM] |
vector of atomic weights for all elements, set in zerologic
Definition at line 65 of file dense.h.
Referenced by AbundancesSet(), collision_strength_VF01(), CS_l_mixing_PS64(), GrainCollHeating(), HeCollid(), t_hydrobranch::HydroBranchFunc(), HydroCollid(), lines_helium(), mie_read_form(), mie_read_opc(), newspecies(), pah1_fun(), PresTotCurrent(), radius_increment(), 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 202 of file dense.h.
Referenced by atom_level2(), atom_level3(), atom_levelN(), atom_pop2(), atom_pop3(), atom_pop5(), AtomSeqBeryllium(), ConvRate2CS(), CoolCalc(), CoolCarb(), CoolEvaluate(), CoolNitr(), CoolOxyg(), CoolSili(), emit_frac(), H21_cm_pops(), LineConvRate2CS(), lines_lv1_k_zn(), lines_lv1_li_ne(), oi_level_pops(), and tfidle().
float t_dense::cfirst |
Definition at line 219 of file dense.h.
Referenced by AbundancesSet(), lgConvPres(), ParseFluc(), and PressureChange().
char t_dense::chDenseLaw[5] |
label describing the density law for current calculation 'DLW2' is dense_tabden interpolated table
Definition at line 134 of file dense.h.
Referenced by AgeCheck(), ConvFail(), ConvInitSolution(), hmole(), iter_end_check(), lgConvPres(), ParseCommands(), ParseConstant(), ParseDLaw(), ParseDynaTime(), ParseDynaWind(), ParseFluc(), ParseGlobule(), ParseHDEN(), ParseTLaw(), prt_smooth_predictions(), PrtComment(), PrtFinal(), radius_first(), radius_next(), zero(), and ZoneStart().
float t_dense::csecnd |
Definition at line 220 of file dense.h.
Referenced by AbundancesSet(), lgConvPres(), ParseFluc(), and PressureChange().
float t_dense::den0 |
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 165 of file dense.h.
Referenced by ion_trim(), RT_tau_inc(), and zero().
double t_dense::DensityLaw[10] |
parameters set by the dlaw command, used by dense_fabden (maybe)
Definition at line 141 of file dense.h.
Referenced by dense_fabden(), ParseDLaw(), and ParseTLaw().
float t_dense::DensityPower |
parameters dealing with hydrogen density scaling as power of radius DensityPower is power
Definition at line 206 of file dense.h.
Referenced by lgConvPres(), ParseCommands(), and ParseHDEN().
double t_dense::eden |
electron density, units cm-3
Definition at line 158 of file dense.h.
Referenced by AGN_Hemis(), atmdat_DielSupres(), atom_level3(), cdEDEN_last(), CO_PopsEmisCool(), CO_update_species_cache(), ContNegative(), ContSetIntensity(), ConvBase(), ConvEdenIoniz(), ConvFail(), ConvInitSolution(), ConvIoniz(), ConvPresTempEdenIoniz(), ConvTempEdenIoniz(), CoolCarb(), CoolChlo(), CoolEvaluate(), CoolIron(), CoolNick(), CoolSili(), CoolSulf(), CS_l_mixing_PS64(), CS_l_mixing_VF01(), CS_VS80(), da(), DumpLine(), eden_sum(), Fe2_cooling(), FeIILevelPops(), fndstr(), GetLineRec(), GrainChargeTemp(), GrainCollHeating(), GrainDrift(), GrainDrive(), GrainElecRecomb1(), GrainTemperature(), H2_LevelPops(), H2_X_coll_rate_evaluate(), HeatSum(), HeLikeLevel(), HeRecom(), highen(), HLineTransOpacSet(), hmole(), hmole_reactions(), hmole_step(), t_hydrobranch::HydroBranchFunc(), HydroCollid(), HydroLevel(), HydroLevelPop(), HydroT2Low(), HyperfineCreate(), ion_recomb(), ion_recombAGN(), ion_solver(), IonCalci(), IonPotas(), iso_continuum_lower(), iso_cool(), iso_ionize_recombine(), iter_end_check(), IterRestart(), IterStart(), lgCheckAsserts(), lgConvEden(), lines(), lines_continuum(), lines_general(), lines_helium(), lines_hydro(), lines_lv1_k_zn(), lines_lv1_li_ne(), lines_lv1_na_ar(), map_do(), MeanInc(), OpacityAddTotal(), PressureChange(), PresTotCurrent(), PrtHeader(), PrtHydroTrace1(), PrtHydroTrace1a(), PrtZone(), Punch_Line_RT(), PunchDo(), PunchLineData(), radius_increment(), radius_next(), RT_diffuse(), RT_line_static(), RT_LineWidth(), RT_OTS(), RT_stark(), RT_tau_inc(), RT_tau_init(), tauff(), tfidle(), zero(), and ZoneStart().
float t_dense::eden_f |
electron density, units cm-3, floating point version for compatibility in CO_mole
Definition at line 161 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 191 of file dense.h.
Referenced by ConvEdenIoniz(), eden_sum(), and radius_next().
float t_dense::EdenExtra |
extra electron density, set with eden command
Definition at line 174 of file dense.h.
Referenced by ContSetIntensity(), eden_sum(), ParseCommands(), and zero().
double t_dense::EdenHCorr |
EdenHCorr is eden + hi * 1.7e-4, includes correction for H atom collisions, units cm-3
Definition at line 181 of file dense.h.
Referenced by ContSetIntensity(), CoolCarb(), CoolOxyg(), HeCollid(), HeLikeLevel(), HydroCollid(), HydroLevel(), HydroLevelPop(), HydroT2Low(), ion_collis(), iso_cool(), iso_ionize_recombine(), IterRestart(), lines_helium(), PrtHydroTrace1a(), PrtHydroTrace2(), PunchDo(), PunchLineData(), and tfidle().
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 185 of file dense.h.
Referenced by HydroCollid(), HydroLevel(), HydroLevelPop(), HydroT2Low(), iso_cool(), PrtHydroTrace1a(), PrtHydroTrace2(), and tfidle().
float t_dense::EdenSet |
EdenSet electron density set with set eden command
Definition at line 171 of file dense.h.
Referenced by ContSetIntensity(), eden_sum(), ParseSet(), and zero().
double t_dense::edensqte |
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 188 of file dense.h.
Referenced by ContSetIntensity(), ConvBase(), ConvEdenIoniz(), ConvFail(), ConvIoniz(), CoolEvaluate(), eden_sum(), iter_end_check(), IterRestart(), lgConvEden(), lines_grains(), PunchDo(), radius_increment(), and RT_OTS().
float t_dense::fhden[LIMTABDLAW] |
float t_dense::flcPhase |
Definition at line 221 of file dense.h.
Referenced by AbundancesSet(), lgConvPres(), ParseFluc(), PressureChange(), and zero().
float t_dense::flong |
parameters for the density fluctuations command
Definition at line 218 of file dense.h.
Referenced by lgConvPres(), ParseFluc(), PressureChange(), radius_first(), radius_next(), and zero().
float t_dense::frad[LIMTABDLAW] |
frad is log radius in cm, fhden is log hden
Definition at line 148 of file dense.h.
Referenced by dense_tabden(), ParseDLaw(), and ParseTLaw().
float 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 62 of file dense.h.
Referenced by AbundancesPrt(), AbundancesSet(), CO_drive(), CO_solve(), conorm(), ContRate(), ContSetIntensity(), ConvBase(), ConvEdenIoniz(), ConvFail(), ConvInitSolution(), ConvPresTempEdenIoniz(), ConvTempEdenIoniz(), CoolEvaluate(), DynaEndIter(), DynaIonize(), DynaPresChngFactor(), DynaPrtZone(), DynaPunch(), DynaPunchTimeDep(), DynaSaveLast(), DynaStartZone(), Fe2_cooling(), GrainChargeTemp(), GrainDrive(), GrainsInit(), GrainTemperature(), GrainUpdateRadius1(), GrnStdDpth(), GrnVryDpth(), H2_LevelPops(), H2_PunchDo(), HeatSum(), HeLike(), hmole(), hmole_step(), Hydrogenic(), ion_solver(), ion_trim(), IonAlumi(), IonBeryl(), IonBoron(), IonCarbo(), IonHelium(), IonIron(), IonMagne(), IonNeon(), IonNitro(), IonOxyge(), IonSilic(), IonSodiu(), iter_end_check(), IterRestart(), IterStart(), lgConvPres(), lgIonizConverg(), lgMolecAver(), lines_general(), map_do(), MeanInc(), OpacityAddTotal(), ParseCommands(), ParseFluc(), ParseGlobule(), ParseHDEN(), pltopc(), PressureChange(), PresTotCurrent(), PrtComment(), PrtFinal(), PrtZone(), punch_opacity(), PunchDo(), PunchLineData(), radius_first(), radius_increment(), radius_next(), RT_tau_init(), and zero().
float t_dense::H_sum_in_CO |
sum of all H in CO network
Definition at line 72 of file dense.h.
Referenced by CO_solve(), DynaIonize(), IterRestart(), IterStart(), and zero().
float 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 95 of file dense.h.
Referenced by CoolCarb(), ParseSet(), tfidle(), and zero().
long int t_dense::IonHigh[LIMELM+1] |
Definition at line 104 of file dense.h.
Referenced by ChargTranPun(), CO_solve(), ContSetIntensity(), ConvBase(), ConvInitSolution(), CoolEvaluate(), DynaIonize(), GrainChargeTemp(), HeatSum(), HeLike(), HeLikeLevel(), Hydrogenic(), HydroLevel(), ion_collis(), ion_photo(), ion_recomb(), ion_recombAGN(), ion_solver(), ion_trim(), IonIron(), IterRestart(), IterStart(), lines_general(), lines_hydro(), map_do(), OpacityAddTotal(), ParseElement(), PresTotCurrent(), prt_H_like_DeparCoef(), prt_H_like_Pops(), PrtLinePres(), PrtZone(), RT_diffuse(), RT_line_all(), RT_line_driving(), RT_OTS(), RT_tau_inc(), and tfidle().
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 103 of file dense.h.
Referenced by ChargTranPun(), CO_drive(), CO_solve(), ContSetIntensity(), ConvBase(), CoolEvaluate(), DynaIonize(), GrainChargeTemp(), HeatSum(), HeLike(), HeLikeLevel(), ion_collis(), ion_photo(), ion_recomb(), ion_recombAGN(), ion_solver(), ion_trim(), IonIron(), IonMagne(), IonNitro(), IonOxyge(), IonSilic(), IonSulph(), IterRestart(), IterStart(), lines_general(), map_do(), OpacityAddTotal(), PresTotCurrent(), and RT_diffuse().
bool t_dense::lgAsChoose[LIMELM][LIMELM] |
options on set atomic data command
Definition at line 144 of file dense.h.
Referenced by CoolOxyg(), ParseSet(), and zero().
bool t_dense::lgCSChoose[LIMELM][LIMELM] |
bool t_dense::lgDenFlucOn |
set true when density fluctuations are turned on
Definition at line 211 of file dense.h.
Referenced by AbundancesSet(), ParseFluc(), PressureChange(), PrtZone(), radius_next(), and zero().
set false when fluctuations are over col den rather than radius, set with column options on fluctuations command
Definition at line 215 of file dense.h.
Referenced by lgConvPres(), ParseFluc(), PressureChange(), and zero().
Definition at line 138 of file dense.h.
Referenced by lgConvPres(), ParseConstant(), PressureChange(), PresTotCurrent(), and zero().
bool t_dense::lgDLWDepth |
lg is true if depth, false if radius to be used
Definition at line 155 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 194 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 122 of file dense.h.
Referenced by AbundancesPrt(), AbundancesSet(), CO_drive(), CO_solve(), ContCreatePointers(), ContRate(), ContSetIntensity(), ConvBase(), ConvInitSolution(), ConvIterCheck(), CoolEvaluate(), CoolNitr(), DynaIonize(), GetStandardHeLines(), GrainChargeTemp(), GrainChrgTransferRates(), GrainCollHeating(), GrainElecEmis1(), GrainElecRecomb1(), GrainRateDr(), He1Autoionize(), HeatSum(), HeCreate(), HeLike(), HelikeRecombSetup(), HighestIonStage(), Hydrogenic(), 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_cool(), iso_create(), iso_zero(), iter_end_check(), IterRestart(), IterStart(), lgCheckAsserts(), lgIonizConverg(), lines_helium(), lines_hydro(), lines_lv1_k_zn(), map_do(), MeanIonRadius(), MeanIonVolume(), OpacityAddTotal(), OpacityCreateAll(), OpacityValenceRescale(), ParseCompile(), ParseElement(), prt_smooth_predictions(), PrtAllTau(), PrtColumns(), PrtComment(), PrtFinal(), PrtMeanIon(), prtmet(), PrtZone(), PunchDo(), PunchLineData(), PunchLineStuff(), radius_increment(), radius_next(), RT_OTS(), RT_tau_init(), RT_tau_reset(), SanityCheckBegin(), state_get_put(), UpdateRecomZ0(), and zero().
bool t_dense::lgSetIoniz[LIMELM] |
will we solve for ionization (false) or specify it with element ionization cmnd true
Definition at line 125 of file dense.h.
Referenced by ContSetIntensity(), ConvBase(), HeLike(), HeLikeLevel(), Hydrogenic(), ion_solver(), ion_trim(), IonHelium(), ParseElement(), and zero().
long int t_dense::nvals |
number of values in above table
Definition at line 152 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 168 of file dense.h.
Referenced by ConvInitSolution(), PrtComment(), and radius_increment().
float t_dense::pden |
total number of particles per cubic centimeter
Definition at line 82 of file dense.h.
Referenced by ConvInitSolution(), CoolEvaluate(), IterStart(), PresTotCurrent(), PunchDo(), radius_first(), and radius_increment().
float t_dense::rscale |
float 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 130 of file dense.h.
Referenced by ContSetIntensity(), ConvBase(), HeLike(), Hydrogenic(), ion_solver(), IonHelium(), and ParseElement().
float t_dense::SqrtEden |
square root of electron density, set in tfidle
Definition at line 177 of file dense.h.
Referenced by GrainDrift(), and tfidle().
float t_dense::wmole |
mean AMU per particle
Definition at line 85 of file dense.h.
Referenced by PresTotCurrent(), PrtFinal(), radius_first(), and radius_increment().
float t_dense::xIonDense[LIMELM+3][LIMELM+1] |
dense.xIonDense[nelem][i] is density of ith ionization stage (cm^-3), [nelem][0] is atom, [][1]) the first ion nelem = 0 for H, 1 for he, etc
with this scheme, OIII is dense.xIonDense[ipOXYGEN][2] HII is dense.xIonDense[ipHYDROGEN][1] at the moment 12CO, 13CO, and H2 are xIonDense[LIMELM][2], [L+1][3] and [L+2][1]
Definition at line 115 of file dense.h.
Referenced by AGN_Hemis(), atom_level2(), atom_level3(), atom_oi_calc(), atoms_fe2ovr(), AtomSeqBeryllium(), AtomSeqBoron(), ChargeTransferUpdate(), ChargTranEval(), ChargTranSumHeat(), CO_drive(), CO_Init(), CO_PopsEmisCool(), CO_solve(), ContSetIntensity(), ConvBase(), ConvInitSolution(), ConvTempEdenIoniz(), CoolAlum(), CoolArgo(), CoolCalc(), CoolCarb(), CoolChlo(), CoolChro(), CoolDima(), CoolEvaluate(), CoolIron(), CoolMagn(), CoolNeon(), CoolNick(), CoolNitr(), CoolOxyg(), CoolPhos(), CoolScan(), CoolSili(), CoolSodi(), CoolSulf(), CoolTita(), CoolVana(), DynaIonize(), eden_sum(), Fe11Lev5(), Fe13Lev5(), Fe2_cooling(), Fe3Lev14(), Fe4Lev12(), Fe7Lev8(), FeII_RT_Out(), FeIILevelPops(), FeIIPunPop(), FeIISumBand(), GetLineRec(), GrainChargeTemp(), GrainCollHeating(), GrainDrift(), GrainElecEmis1(), GrainElecRecomb1(), GrainMakeDiffuse(), GrnStdDpth(), GrnVryDpth(), H21_cm_pops(), H2_Cooling(), H2_PunchDo(), H2_X_coll_rate_evaluate(), HeatPunch(), HeatSum(), HeCollid(), HeLike(), HeLikeLevel(), highen(), HighestIonStage(), hmole(), hmole_step(), HydroCollid(), Hydrogenic(), HydroLevel(), HydroLevelPop(), HydroRenorm(), HyperfineCreate(), ion_recomb(), ion_solver(), ion_trim(), IonAlumi(), IonBeryl(), IonBoron(), IonCarbo(), IonHelium(), IonIron(), IonMagne(), IonNeon(), IonNitro(), IonOxyge(), IonSilic(), IonSodiu(), iso_continuum_lower(), iso_cool(), iso_ionize_recombine(), iter_end_check(), IterRestart(), IterStart(), lgIonizConverg(), lgMolecAver(), ligbar(), lines(), lines_continuum(), lines_general(), lines_helium(), lines_hydro(), lines_lv1_k_zn(), lines_lv1_li_ne(), lines_lv1_na_ar(), lines_molecules(), MakeCS(), map_do(), MeanInc(), mole_H2_form(), OpacityAdd1Element(), OpacityAddTotal(), pfeii(), PressureChange(), PresTotCurrent(), PrtZone(), punch_opacity(), PunchDo(), PunchLineData(), PunchLineStuff(), PunchSpecial(), radius_first(), radius_increment(), radius_next(), RT_diffuse(), RT_line_all(), RT_line_driving(), RT_line_static(), RT_OTS(), RT_tau_inc(), SanityCheckBegin(), tfidle(), UpdateRecomZ0(), and zero().
float t_dense::xMassDensity |
xMassDensity grams per cc
Definition at line 75 of file dense.h.
Referenced by ConvInitSolution(), DynaIonize(), DynaPresChngFactor(), DynaPrtZone(), lgConvPres(), Magnetic_evaluate(), PressureChange(), PresTotCurrent(), PrtFinal(), PunchDo(), radius_first(), radius_increment(), radius_next(), and RT_radiative_acceleration().
float 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 79 of file dense.h.
Referenced by DynaFlux(), PresTotCurrent(), and zero().
float t_dense::xMassTotal |
total mass in grams
Definition at line 91 of file dense.h.
Referenced by iter_end_check(), IterStart(), PrtFinal(), radius_increment(), and zero().
float t_dense::xMolecules[LIMELM] |
dense.xMolecules density of elements locked in molecules, this is included in gas_phase
Definition at line 69 of file dense.h.
Referenced by CO_solve(), ConvBase(), hmole(), hmole_step(), ion_solver(), IterRestart(), IterStart(), PressureChange(), and zero().
float t_dense::xNucleiTotal |
total number of nuclei, set in PressureTotal
Definition at line 88 of file dense.h.
Referenced by iso_continuum_lower(), PresTotCurrent(), and zero().