cloudy
trunk
|
Go to the source code of this file.
Data Structures | |
class | t_dense |
Functions | |
double | dense_fabden (double radius, double depth) |
double | dense_parametric_wind (double rad) |
bool | lgElemsConserved () |
void | lgStatesConserved (long nelem, long ionStage, qList states, long numStates, realnum err_tol, long loop_ion) |
void | SumDensities () |
void | ScaleAllDensities (const realnum factor) |
void | ScaleIonDensities (const long nelem, const realnum factor) |
bool | AbundChange () |
realnum | scalingDensity () |
realnum | scalingZoneDensity (long i) |
Variables | |
t_dense | dense |
bool AbundChange | ( | ) |
Definition at line 300 of file dense.cpp.
References abund, AbundancesTable(), ASSERT, t_dense::cfirst, colden, t_colden::colden, t_dense::csecnd, DEBUG_ENTRY, dense, t_radius::depth, dynamics, fixit, t_dense::flcPhase, t_dense::flong, t_dense::gas_phase, ipCOL_HTOT, ipHYDROGEN, ipLITHIUM, t_abund::lgAbTaON, t_abund::lgAbunTabl, t_dynamics::lgAdvection, t_dense::lgDenFlucOn, t_dense::lgDenFlucRadius, t_dense::lgElmtOn, LIMELM, mole, mole_global, t_mole_global::num_total, nzone, phycon, radius, t_radius::Radius, ScaleIonDensities(), t_dense::SetGasPhaseDensity(), t_mole_local::species, t_phycon::te, TempChange(), and t_dense::xIonDense.
Referenced by ConvPresTempEdenIoniz().
double dense_fabden | ( | double | radius, |
double | depth | ||
) |
dense_fabden called by dlaw command, returns density for any density law
radius | |
depth |
Definition at line 10 of file dense_fabden.cpp.
References cdEXIT, EXIT_FAILURE, fprintf(), and ioQQQ.
Referenced by ParseCommands(), radius_next(), and zoneDensity().
double dense_parametric_wind | ( | double | rad | ) |
Definition at line 9 of file dense_parametric_wind.cpp.
References dense, density(), t_dense::DensityLaw, MIN2, pow2(), radius, t_radius::rinner, and t_dense::wmole.
Referenced by ParseCommands(), radius_next(), and zoneDensity().
bool lgElemsConserved | ( | ) |
Definition at line 119 of file dense.cpp.
References t_elementnames::chElementSym, conv, dense, deut, elementnames, findspecies(), fprintf(), t_deuterium::gas_phase, t_dense::gas_phase, t_conv::GasPhaseAbundErrorAllowed, ioQQQ, t_dense::lgElmtOn, mole_print_species_reactions(), nuclide_list, nzone, SMALLFLOAT, t_deuterium::xIonDense, t_dense::xIonDense, t_deuterium::xMolecules(), and t_dense::xMolecules().
Referenced by cloudy(), ConvBase(), ion_wrapper(), IterRestart(), mole_return_cached_species(), mole_solve(), PresTotCurrent(), and ScaleAllDensities().
void lgStatesConserved | ( | long | nelem, |
long | ionStage, | ||
qList | states, | ||
long | numStates, | ||
realnum | err_tol, | ||
long | loop_ion | ||
) |
Definition at line 195 of file dense.cpp.
References abund, conv, dense, t_dense::eden, t_conv::EdenErrorAllowed, fprintf(), INPUT_LINE_LENGTH, ioQQQ, t_conv::lgConvIoniz(), t_dense::lgElmtOn, nzone, SDIV(), t_conv::setConvIonizFail(), SMALLFLOAT, and t_dense::xIonDense.
Referenced by ConvBase().
void ScaleAllDensities | ( | const realnum | factor | ) |
Definition at line 56 of file dense.cpp.
References ASSERT, dense, deut, t_dense::eden, EdenChange(), fprintf(), t_dense::gas_phase, h2, t_hmi::H2_total, hmi, ioQQQ, ipHYDROGEN, lgElemsConserved(), t_dense::lgElmtOn, t_trace::lgNeBug, t_trace::lgTrace, LIMELM, mole, mole_global, t_mole_global::num_total, diatomics::ortho_density, diatomics::para_density, ScaleIonDensities(), t_dense::SetGasPhaseDensity(), t_mole_local::species, trace, t_deuterium::updateXMolecules(), and t_dense::updateXMolecules().
Referenced by ConvPresTempEdenIoniz(), and PressureChange().
void ScaleIonDensities | ( | const long | nelem, |
const realnum | factor | ||
) |
Definition at line 90 of file dense.cpp.
References dense, deut, ipHYDROGEN, iso_renorm(), t_deuterium::lgElmtOn, NISO, ScaleDensitiesDeuterium(), and t_dense::xIonDense.
Referenced by AbundChange(), and ScaleAllDensities().
realnum scalingDensity | ( | ) |
Definition at line 409 of file dense.cpp.
References dense, t_dense::gas_phase, ipHYDROGEN, and t_dense::xMassDensity.
Referenced by ConvPresTempEdenIoniz(), t_dynamics::Cool(), CoolEvaluate(), DynaIonize(), DynaIterEnd(), DynaPrtZone(), DynaPunchTimeDep(), DynaSave(), DynaStartZone(), t_dynamics::Heat(), lgTestPressureConvergence(), limitedDensityScaling(), PressureChange(), stepDensity(), and zoneDensity().
realnum scalingZoneDensity | ( | long | i | ) |
Definition at line 416 of file dense.cpp.
References t_struc::DenMass, t_struc::hden, and struc.
Referenced by DynaNewStep(), and DynaSaveLast().
void SumDensities | ( | ) |
Definition at line 235 of file dense.cpp.
References ASSERT, t_dense::AtomicWeight, BIGFLOAT, dense, t_dense::eden, fprintf(), t_dense::gas_phase, ioQQQ, ipHYDROGEN, t_dense::lgElmtOn, LIMELM, t_dense::pden, total_molecules_gasphase(), TotalInsanity(), t_dense::wmole, t_dense::xIonDense, t_dense::xMassDensity, t_dense::xMassDensity0, and t_dense::xNucleiTotal.
Referenced by AbundancesSet(), PresTotCurrent(), and RT_tau_init().
t_dense dense |
Definition at line 15 of file global.cpp.
Referenced by AbundancesPrt(), AbundancesSet(), AbundChange(), AgeCheck(), AGN_Hemis(), atmdat_3body(), atom_level2(), Badnell_rec_init(), t_gaunt::brems_sum_ions(), cdColm(), cdEDEN_last(), ChargTranPun(), ChargTranSumHeat(), check_co_ion_converge(), ChemImportance(), clean_up(), collectSkipTrans(), collision_strength_VF01(), conorm(), ContCreatePointers(), ContNegative(), ContRate(), ContSetIntensity(), ConvBase(), ConvEdenIoniz(), ConvFail(), ConvInitSolution(), ConvIterCheck(), ConvPresTempEdenIoniz(), ConvRate2CS(), ConvTempEdenIoniz(), CoolDima(), CoolEvaluate(), CoolH2_GA08(), CoolHyperfine(), CS_l_mixing_PS64(), CS_l_mixing_PS64_expI(), dBaseAbund(), dBaseTrim(), dense_parametric_wind(), DoSatelliteLines(), DumpLine(), DynaCreateArrays(), DynaFlux(), DynaIonize(), DynaNewStep(), DynaPrtZone(), DynaPunchTimeDep(), DynaSaveLast(), DynaStartZone(), eden_sum(), EdenChange(), EdenError(), ElectronFractions(), emit_frac(), fill_array(), find_solution(), fndstr(), get_total_abundance_ions(), GetHelikeCollisionStrength(), GetLineRec(), GetStandardHeLines(), GrainChargeTemp(), GrainChrgTransferRates(), GrainCollHeating(), GrainDrift(), GrainDrive(), GrainElecEmis1(), GrainElecRecomb1(), GrainMakeDiffuse(), GrainRateDr(), GrainsInit(), GrainTemperature(), GrainUpdateRadius1(), GravitationalPressure(), GrnStdDpth(), GrnVryDpth(), H21_cm_pops(), diatomics::H2_LevelPops(), diatomics::H2_PunchDo(), diatomics::H2_PunchLineStuff(), diatomics::H2_X_coll_rate_evaluate(), diatomics::H2_X_sink_and_source(), H_Einstein_A(), HeatSum(), highen(), HomogeneousSource(), hydro_vs_coll_str(), HydroLevel(), HyperfineCreate(), ColliderList::init(), init_struc(), InitCoreload(), InitCoreloadPostparse(), InitDefaultsPreparse(), InitSimPostparse(), ion_collis(), ion_CX(), ion_photo(), ion_recom_calculate(), ion_recomb(), ion_recombAGN(), ion_solver(), ion_trim(), ion_trim2(), ion_trim_from_set(), ion_trim_init(), ion_trim_invalidate(), ion_trim_small(), ion_trim_untrim(), ion_trim_validate(), ion_widen(), ion_wrapper(), IonHelium(), IonHydro(), IonNelem(), iso_allocate(), iso_assign_quantum_numbers(), iso_charge_transfer_update(), iso_collapsed_update(), iso_collide(), iso_continuum_lower(), iso_cool(), iso_create(), iso_departure_coefficients(), iso_get_collision_strength(), iso_ionize_recombine(), iso_level(), iso_multiplet_opacities(), iso_multiplet_opacities_one(), iso_rad_rec_cooling_discrete(), iso_radiative_recomb(), iso_recomb_malloc(), iso_recomb_setup(), iso_renorm(), iso_satellite(), iso_satellite_update(), iso_solve(), iso_state_lifetime(), iso_update_rates(), iso_zero(), iter_end_check(), IterRestart(), IterStart(), lgCheckMonitors(), lgConvEden(), lgElemsConserved(), lgNetEdenSrcSmall(), lgStatesConserved(), lgTrivialSolution(), LineConvRate2CS(), lines(), lines_continuum(), lines_general(), lines_grains(), lines_helium(), lines_hydro(), lines_iron_Ka(), lines_molecules(), logPressureState(), Magnetic_evaluate(), t_mole_global::make_species(), MakeCS(), map_do(), t_mean::MeanInc(), t_mean::MeanIon(), MeanMassOfElement(), mie_read_form(), mie_read_opc(), mole_create_react(), mole_effects(), mole_eval_dynamic_balance(), mole_eval_sources(), diatomics::mole_H2_form(), mole_h2_grain_form(), mole_h_fixup(), mole_h_rate_diagnostics(), mole_h_reactions(), mole_ion_trim(), mole_return_cached_species(), mole_solve(), mole_update_limiting_reactants(), my_Integrand_VF01_E< P >::my_Integrand_VF01_E(), OpacityAdd1Element(), OpacityAddTotal(), OpacityCreateAll(), OpacityValenceRescale(), setCollRate::operator()(), pah1_fun(), pah2_fun(), pah3_fun(), parse_species_label(), ParseAbundances(), ParseCommands(), ParseCompile(), ParseConstant(), ParseDLaw(), ParseDynaWind(), ParseEden(), ParseElement(), ParseFluc(), ParseGlobule(), ParseHDEN(), ParseSet(), ParseTLaw(), pltopc(), PressureChange(), PresTotCurrent(), PrintRates(), prt_smooth_predictions(), prt_trans_opc_debug(), PrtAllTau(), PrtColumns(), PrtComment(), PrtFinal(), PrtHeader(), PrtHydroTrace1a(), PrtLinePres(), PrtMeanIon(), prtmet(), PrtZone(), radius_first(), radius_increment(), radius_next(), t_ionbal::RateIonizTot(), reduced_amu(), renorm_solution(), rfield_opac_malloc(), ritoa(), RT_continuum(), RT_DestProb(), RT_diffuse(), RT_iso_integrate_RRC(), RT_line_all(), RT_line_all_escape(), RT_line_driving(), RT_line_electron_scatter(), RT_LineWidth(), RT_OTS(), RT_OTS_PrtRate(), RT_OTS_Update(), RT_stark(), RT_tau_inc(), RT_tau_init(), RT_tau_reset(), RTesc_lya(), SanityCheckBegin(), Save_Line_RT(), save_opacity(), SaveDo(), SaveHeat(), SaveLineData(), SaveLineStuff(), SaveSpecial(), SaveSpeciesLines(), ScaleAllDensities(), ScaleIonDensities(), scalingDensity(), SecIoniz(), PresMode::set(), t_mole_local::set_ion_locations(), GroupMap::setup(), setXtraRatesFe2(), setXtraRatesO1(), state_get_put(), states_nelemfill(), store_new_densities(), SumDensities(), tfidle(), UpdateRecomZ0(), UpdateUTAs(), t_dense::zero(), zoneDensity(), and ZoneStart().