cloudy  trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions | Variables
heat_sum.cpp File Reference
#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"
Include dependency graph for heat_sum.cpp:

Go to the source code of this file.

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
 

Function Documentation

STATIC void ElectronFractions ( realnum ElectronFraction,
realnum xValenceDonorDensity 
)

total number of neutral colliders (atoms & molecules)

Definition at line 31 of file heat_sum.cpp.

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, t_mole_global::num_calc, t_mole_local::species, t_deuterium::xIonDense, and t_dense::xIonDense.

Referenced by HeatSum(), and SecIoniz().

Here is the call graph for this function:

void HeatSum ( void  )

HeatSum evaluate all heating agents to determine total heating for this zone, called at end of ionize

Todo:
1 add part of hard heat to secondaries

Definition at line 498 of file heat_sum.cpp.

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().

Here is the call graph for this function:

void HeatZero ( void  )

HeatZero zeroes out the heating array, called at start of ionize

Definition at line 1071 of file heat_sum.cpp.

References DEBUG_ENTRY, LIMELM, t_thermal::setHeating(), and thermal.

Referenced by ConvBase(), and t_thermal::zero().

Here is the call graph for this function:

void SecIoniz ( void  )

Variable Documentation

const double FAINT_HEAT = 0.02
static

Definition at line 27 of file heat_sum.cpp.

Referenced by HeatSum().

const bool PRT_DERIV = false
static

Definition at line 29 of file heat_sum.cpp.

Referenced by HeatSum().