cloudy trunk
Data Structures | Functions | Variables

pressure.h File Reference

#include "rt.h"
#include "rfield.h"
#include "doppvel.h"
#include "physconst.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, double densityDenorm)

Variables

EXTERN struct t_pressure pressure

Function Documentation

double PressureRadiationLine ( const transition t,
double  densityDenorm 
) [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 t_wind::AccelCont, t_wind::AccelGravity, t_wind::AccelLine, t_wind::AccelPres, t_wind::AccelTot, t_rfield::anu, ASSERT, ATOMIC_MASS_UNIT, t_dense::AtomicWeight, BIGFLOAT, BOLTZMANN, broken(), C12O16Rotate, C13O16Rotate, cdEXIT, t_dense::chDenseLaw, t_elementnames::chElementName, chLineLbl(), t_pressure::chLineRadPres, t_wind::comass, COmole, t_rfield::ConInterOut, conv, t_hextra::cryden, DEBUG_ENTRY, dense, t_radius::depth, t_wind::DiskRadius, t_DoppVel::doppler, DoppVel, t_radius::drad, DynaFlux(), dynamics, t_dense::eden, elementnames, EN1RYD, t_phycon::EnergyBinding, t_transition::EnergyErg, t_phycon::EnergyExcitation, t_phycon::EnergyIonization, t_magnetic::EnthalpyDensity, t_phycon::EnthalpyDensity, EVRYD, FeII_InterEnergy(), FeIIRadPress(), fixit(), t_rfield::flux, fnzone, fudge(), t_dense::gas_phase, GRAV_CONST, H2_InterEnergy(), H2_RadPress(), Heavy, t_DoppVel::Heiles_Troland_F, molecule::hevmol, hextra, HFLines, t_transition::Hi, t_hydro::HLineWidth, hmi, t_hmi::Hmolec, hydro, Singleton< T >::Inst(), t_dense::IonHigh, t_dense::IonLow, ioQQQ, ipH1s, ipH2p, ipH_LIKE, ipHE_LIKE, ipHYDROGEN, ipMH, ipMHp, t_pressure::ipPradMax_line, t_pressure::ipPradMax_nzone, iso, iteration, lgAbort, t_dense::lgDenseInitConstant, 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, t_dynamics::lgStatic, t_trace::lgTrace, t_DoppVel::lgTurb_pressure, LIMELM, magnetic, Magnetic_evaluate(), MAX2, MIN2, mole, N_H_MOLEC, t_iso::nCollapsed_local, nCORotate, t_quantumState::nelem, t_rfield::nflux, nHFLines, NISO, nLevel1, t_Heavy::nsShells, t_conv::nTotalIoniz, t_mole::num_comole_calc, t_iso::numLevels_local, nWindLine, nzone, opac, t_opac::opacity_abs, t_opac::opacity_sct, 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::PresTotlInit, t_pressure::PresTurbCurr, t_pressure::RadBetaMax, t_radius::Radius, radius, rfield, RT_line_driving(), RT_LineWidth(), SDIV(), ShowMe(), t_iso::SmallA, SMALLFLOAT, SOLAR_MASS, SPEEDLIGHT, t_phycon::sqrte, StatesElem, TauLine2, TauLines, t_phycon::te, TempChange(), TorF(), TotalInsanity(), trace, Transitions, t_DoppVel::TurbVel, wind, t_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 Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated for cloudy by doxygen 1.7.3