Cloudy
Spectral Synthesis Code for Astrophysics
|
#include "cddefines.h"
#include "thermal.h"
#include "heavy.h"
#include "trace.h"
#include "secondaries.h"
#include "conv.h"
#include "called.h"
#include "coolheavy.h"
#include "iso.h"
#include "h2.h"
#include "hmi.h"
#include "ionbal.h"
#include "phycon.h"
#include "numderiv.h"
#include "grainvar.h"
#include "deuterium.h"
#include "mole.h"
#include "dense.h"
#include "cooling.h"
#include "rfield.h"
Functions | |
STATIC void | ElectronFractions (realnum &ElectronFraction, realnum &xValenceDonorDensity) |
void | SecIoniz (void) |
void | HeatSum (void) |
void | HeatZero (void) |
Variables | |
static const double | FAINT_HEAT = 0.02 |
static const bool | PRT_DERIV = false |
total number of neutral colliders (atoms & molecules)
References dense, deut, t_dense::eden, t_dense::EdenTrue, fprintf(), t_dense::gas_phase, ioQQQ, ipARGON, ipHELIUM, ipHYDROGEN, ipKRYPTON, ipNEON, LIMELM, t_mole_global::list, MAX2, MIN2, mole, mole_global, NULL, t_mole_global::num_calc, t_mole_local::species, t_deuterium::xIonDense, and t_dense::xIonDense.
Referenced by HeatSum(), and SecIoniz().
void HeatSum | ( | void | ) |
HeatSum evaluate all heating agents to determine total heating for this zone, called at end of ionize
References ASSERT, t_CoolHeavy::brems_heat_total, called, cdEXIT, t_thermal::char_tran_heat, t_rfield::cmheat, t_ionbal::CollIonRate_Ground, t_CoolHeavy::colmet, t_ionbal::CompRecoilHeatLocal, t_ionbal::CompRecoilHeatRate, conv, CoolHeavy, t_ionbal::CosRayHeatNeutralParticles, t_ionbal::CosRayHeatThermalElectrons, t_thermal::ctot, DEBUG_ENTRY, molezone::den, dense, t_hmi::deriv_HeatH2Dexc_used, t_thermal::dHeatdT, GrainVar::dHeatdT, diatoms, t_iso_sp::dLTot, t_dense::eden, ElectronFractions(), EXIT_FAILURE, t_ionbal::ExtraHeatRate, FAINT_HEAT, findspecieslocal(), fixit, fp_equal(), fprintf(), t_dense::gas_phase, gv, t_hmi::H2_total, t_secondaries::HeatEfficPrimary, t_hmi::HeatH2Dexc_used, t_thermal::heating(), t_thermal::heatl, t_thermal::heatnt, Heavy, t_thermal::heavycollcool, hmi, t_thermal::htot, ionbal, t_dense::IonHigh, t_dense::IonLow, ioQQQ, ipCARBON, ipH_LIKE, ipHELIUM, ipHYDROGEN, ipOXYGEN, iso_sp, lgConvBaseHeatTest, t_dense::lgElmtOn, t_trace::lgHeatBug, t_NumDeriv::lgNumDeriv, t_conv::lgSearch, t_secondaries::lgSecOFF, t_called::lgTalk, t_thermal::lgTemperatureConstant, t_trace::lgTrace, LIMELM, MAX2, MIN2, t_thermal::ncltot, NISO, t_Heavy::nsShells, NumDeriv, nzone, t_ionbal::PairProducPhotoRate, t_ionbal::PhotoRate_Shell, phycon, PRT_DERIV, rfield, save, SecIoniz(), secondaries, t_thermal::setHeating(), ShowMe(), t_phycon::te, thermal, trace, t_ionbal::UTA_heat_rate, t_dense::xIonDense, and t_ionbal::xNeutronHeatRate.
Referenced by ConvBase(), and ConvEdenIoniz().
void HeatZero | ( | void | ) |
HeatZero zeroes out the heating array, called at start of ionize
References DEBUG_ENTRY, LIMELM, t_thermal::setHeating(), and thermal.
Referenced by ConvBase(), and t_thermal::zero().
void SecIoniz | ( | void | ) |
References ASSERT, t_ionbal::CosRayHeatNeutralParticles, t_ionbal::CosRayIonRate, t_secondaries::csupra, t_secondaries::csupra_effic, DEBUG_ENTRY, molezone::den, dense, ElectronFractions(), findspecieslocal(), fixit, fprintf(), t_dense::gas_phase, t_secondaries::HeatEfficPrimary, Heavy, ionbal, t_dense::IonHigh, t_dense::IonLow, ioQQQ, ipCARBON, ipH_LIKE, ipHE_LIKE, ipHELIUM, ipHYDROGEN, ipOXYGEN, iso_sp, t_secondaries::lgCSetOn, t_dense::lgElmtOn, t_trace::lgSecIon, t_secondaries::lgSecOFF, t_trace::lgTrace, LIMELM, MAX2, MIN2, NISO, t_Heavy::nsShells, t_ionbal::PairProducPhotoRate, t_ionbal::PhotoRate_Shell, pow(), SDIV(), t_secondaries::SecExcitLya2PrimaryErg, t_secondaries::SecIon2PrimaryErg, secondaries, t_secondaries::SetCsupra, SMALLFLOAT, t_iso_sp::st, trace, t_secondaries::x12tot, t_dense::xIonDense, and t_ionbal::xNeutronHeatRate.
Referenced by ConvBase(), and HeatSum().
|
static |
Referenced by HeatSum().
|
static |
Referenced by HeatSum().