/home66/gary/public_html/cloudy/c08_branch/source/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]

PressureRadiationLine calculate radiation pressure due to a particular line

Definition at line 17 of file pressure.h.

References ASSERT, DEBUG_ENTRY, t_DoppVel::doppler, DoppVel, t_transition::Emis, t_transition::EnergyWN, t_rfield::fine_opac_zone, t_quantumState::g, t_transition::Hi, HPLANCK, t_emission::ipFine, t_rfield::ipFineConVelShift, t_rfield::lgOpacityFine, t_transition::Lo, MIN2, t_quantumState::nelem, t_rfield::nfine, t_emission::opacity, PI8, t_quantumState::Pop, t_emission::PopOpc, POW4, rfield, RT_LineWidth(), and SMALLFLOAT.

Referenced by FeIIRadPress(), H2_RadPress(), and PrtLinePres().

Here is the call graph for this function:

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:


Variable Documentation

EXTERN struct t_pressure pressure

variables dealing with pressure across model

Referenced by advection_set_detault(), cdPressure_last(), ConvFail(), ConvInitSolution(), ConvPresTempEdenIoniz(), DynaIonize(), DynaPresChngFactor(), DynaPrtZone(), InitDefaultsPreparse(), IterRestart(), lgCheckAsserts(), lgConvPres(), ParseConstant(), ParseDont(), ParseDynaWind(), PressureChange(), PresTotCurrent(), PrtLinePres(), PrtZone(), and RT_LineWidth().


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