cloudy trunk
Loading...
Searching...
No Matches
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

◆ PresTotCurrent()

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
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 ASSERT, BOLTZMANN, broken(), cdEXIT, chLineLbl(), conv, dBaseSpecies, dBaseTrans, DEBUG_ENTRY, dense, diatoms, DoppVel, DynaFlux(), dynamics, EN1RYD, EVRYD, EXIT_FAILURE, FeII_InterEnergy(), FeIIRadPress(), fixit(), fnzone, fudge(), GetDopplerWidth(), GRAV_CONST, Heavy, HFLines, hydro, Singleton< t_ADfA >::Inst(), ioQQQ, ipH1s, ipH2p, ipH_LIKE, ipHE_LIKE, ipHYDROGEN, iso_ctrl, iso_sp, iteration, lgElemsConserved(), LIMELM, magnetic, Magnetic_evaluate(), MAX2, MIN2, nHFLines, NISO, nLevel1, nSpecies, nWindLine, nzone, opac, t_ADfA::ph1(), phycon, POW2, pressure, PressureRadiationLine(), radius, rfield, RT_line_driving(), RT_LineWidth(), SDIV(), ShowMe(), SMALLFLOAT, SOLAR_MASS, SPEEDLIGHT, SumDensities(), TauLine2, TauLines, TempChange(), TorF(), trace, and wind.

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

Here is the call graph for this function: