/home66/gary/public_html/cloudy/c08_branch/source/pressure_total.cpp File Reference

#include "cddefines.h"
#include "physconst.h"
#include "taulines.h"
#include "opacity.h"
#include "hextra.h"
#include "elementnames.h"
#include "hydrogenic.h"
#include "conv.h"
#include "iso.h"
#include "wind.h"
#include "magnetic.h"
#include "doppvel.h"
#include "rfield.h"
#include "phycon.h"
#include "thermal.h"
#include "hmi.h"
#include "h2.h"
#include "dense.h"
#include "atomfeii.h"
#include "mole.h"
#include "dynamics.h"
#include "trace.h"
#include "rt.h"
#include "atmdat.h"
#include "lines_service.h"
#include "pressure.h"
#include "radius.h"

Include dependency graph for pressure_total.cpp:

Go to the source code of this file.

Functions

void PresTotCurrent (void)


Function Documentation

void PresTotCurrent ( void   ) 

PressureTotal determine the gas and line radiation pressures for current conditions, this sets the variable pressure.PresTotlCurr

Todo:
2 this is the total binding energy of the molecules, and is negative, the energy need to get back to free atoms never set and only appears in print statements

Todo:
2 - should this include mass in grains?

Todo:
2 - should this include mass in grain mantle ice deposits?

Todo:
0 add this press term due to cosmic rays - hextra.cr_energydensity

Todo:
0 code has variable magnetic energydensity and pressure, which are equal, as they must be - del one or the other

Definition at line 34 of file pressure_total.cpp.

References t_dense::chDenseLaw, t_elementnames::chElementName, conv, t_hextra::cryden, DEBUG_ENTRY, dense, elementnames, t_dense::gas_phase, hextra, ioQQQ, ipHYDROGEN, iteration, lgAbort, t_dense::lgElmtOn, t_conv::lgSearch, t_dense::lgSetIoniz, LIMELM, NISO, t_conv::nTotalIoniz, nzone, phycon, t_pressure::pres_radiation_lines_curr, pressure, t_conv::PressureErrorAllowed, t_phycon::te, TempChange(), TotalInsanity(), and t_dense::xIonDense.

Referenced by ConvBase(), ConvInitSolution(), ConvTempEdenIoniz(), CoolHeatError(), DynaPresChngFactor(), map_do(), and PressureChange().

Here is the call graph for this function:


Generated on Mon Feb 16 12:11:25 2009 for cloudy by  doxygen 1.4.7