/home66/gary/public_html/cloudy/c10_branch/source/pressure.h File Reference

#include "rt.h"
#include "rfield.h"
#include "doppvel.h"
#include "physconst.h"
#include "transition.h"
Include dependency graph for pressure.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  t_pressure

Functions

void PresTotCurrent (void)
double PressureRadiationLine (const transition *t, realnum DopplerWidth)

Variables

EXTERN struct t_pressure pressure

Function Documentation

double PressureRadiationLine ( const transition t,
realnum  DopplerWidth 
) [inline]
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 Wind::AccelCont, Wind::AccelElectron, Wind::AccelGravity, Wind::AccelLine, Wind::AccelTotalOutward, t_rfield::anu, ASSERT, ATOMIC_MASS_UNIT, t_dense::AtomicWeight, BIGFLOAT, BOLTZMANN, broken(), cdEXIT, t_dense::chDenseLaw, t_elementnames::chElementName, t_species::chLabel, chLineLbl(), t_pressure::chLineRadPres, Wind::comass, COmole, t_rfield::ConInterOut, conv, t_hextra::cryden, dBaseTrans, DEBUG_ENTRY, dense, t_radius::depth, Wind::DiskRadius, DoppVel, t_radius::drad, DynaFlux(), dynamics, t_dense::eden, elementnames, EN1RYD, t_phycon::EnergyBinding, transition::EnergyErg, t_phycon::EnergyExcitation, t_phycon::EnergyIonization, t_magnetic::EnthalpyDensity, t_phycon::EnthalpyDensity, EVRYD, FeII_InterEnergy(), FeIIRadPress(), fixit(), t_rfield::flux, t_species::fmolweight, Wind::fmul, fnzone, fudge(), t_dense::gas_phase, GetDopplerWidth(), GRAV_CONST, H2_InterEnergy(), H2_RadPress(), Heavy, t_DoppVel::Heiles_Troland_F, molecule::hevmol, hextra, HFLines, transition::Hi, t_hydro::HLineWidth, hmi, t_hmi::Hmolec, hydro, Singleton< T >::Inst(), t_dense::IonHigh, t_dense::IonLow, t_opac::iopcom, ioQQQ, transition::ipCont, ipH1s, ipH2p, ipH_LIKE, ipHE_LIKE, ipHYDROGEN, ipMH, ipMHp, t_pressure::ipPradMax_line, t_pressure::ipPradMax_nzone, iso, iteration, lgAbort, Wind::lgBallistic(), t_rfield::lgDoLineTrans, t_dense::lgElmtOn, molecule::lgGas_Phase, t_dynamics::lgISO, t_pressure::lgLineRadPresOn, t_dynamics::lgMETALS, t_pressure::lgPradCap, t_pressure::lgPres_magnetic_ON, t_pressure::lgPres_radiation_ON, t_pressure::lgPres_ram_ON, t_conv::lgSearch, t_dense::lgSetIoniz, Wind::lgStatic(), t_dynamics::lgTimeDependentStatic, t_trace::lgTrace, t_DoppVel::lgTurb_pressure, LIMELM, magnetic, Magnetic_evaluate(), MAX2, MIN2, mole, N_H_MOLEC, t_iso::nCollapsed_local, t_quantumState::nelem, t_rfield::nflux, nHFLines, NISO, nLevel1, nSpecies, t_Heavy::nsShells, t_conv::nTotalIoniz, t_mole::num_comole_calc, t_species::numLevels_local, t_iso::numLevels_local, nWindLine, nzone, opac, t_opac::opacity_abs, t_opac::opacity_sct, t_opac::OpacStack, t_rfield::outlin, t_rfield::outlin_noplot, t_pressure::pbeta, t_dense::pden, phycon, t_quantumState::Pop, POW2, t_pressure::pres_radiation_lines_curr, t_pressure::PresGasCurr, t_pressure::PresMax, t_pressure::PresRamCurr, t_magnetic::pressure, pressure, t_conv::PressureErrorAllowed, PressureRadiationLine(), t_pressure::PresTotlCorrect, t_pressure::PresTotlCurr, t_pressure::PresTurbCurr, t_pressure::RadBetaMax, t_radius::Radius, radius, rfield, RT_line_driving(), RT_LineWidth(), SDIV(), ShowMe(), t_iso::SmallA, SMALLFLOAT, SOLAR_MASS, t_quantumState::sp, Species, SPEEDLIGHT, t_phycon::sqrte, StatesElemNEW, TauLine2, TauLines, t_phycon::te, TempChange(), TorF(), TotalInsanity(), trace, Transitions, t_DoppVel::TurbVel, wind, Wind::windv, t_dense::wmole, t_dense::xIonDense, t_dense::xMassDensity, t_dense::xMassDensity0, and t_dense::xNucleiTotal.

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

Here is the call graph for this function:


Variable Documentation

EXTERN struct t_pressure pressure
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 15 Nov 2012 for cloudy by  doxygen 1.6.1