Cloudy
Spectral Synthesis Code for Astrophysics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
t_pressure Struct Reference

#include <pressure.h>

Inheritance diagram for t_pressure:
Collaboration diagram for t_pressure:

Public Member Functions

const char * chName () const
 
void zero ()
 
void comment (t_warnings &)
 
- Public Member Functions inherited from module
 module ()
 
virtual ~module ()
 

Public Attributes

realnum PresLow
 
realnum PresHigh
 
realnum PresPowerlaw
 
double PresRamCurr
 
double PresTurbCurr
 
double PresTotlCurr
 
double PresTotlError
 
double PresGasCurr
 
double PresTotlInit
 
bool lgPressureInitialSpecified
 
double PressureInitialSpecified
 
double pres_radiation_lines_curr
 
bool lgContRadPresOn
 
realnum PresInteg
 
realnum pinzon
 
realnum PresIntegElecThin
 
realnum pinzon_PresIntegElecThin
 
double RhoGravity_dark
 
double RhoGravity_self
 
double RhoGravity_external
 
double RhoGravity
 
double IntegRhoGravity
 
int gravity_symmetry
 
double self_mass_factor
 
vector< double > external_mass [3]
 
bool lgPres_radiation_ON
 
bool lgPres_magnetic_ON
 
bool lgPres_ram_ON
 
realnum RadBetaMax
 
realnum pbeta
 
realnum PresMax
 
long int ipPradMax_line
 
long int ipPradMax_nzone
 
string chLineRadPres
 
bool lgPradCap
 
bool lgPradDen
 
bool lgLineRadPresOn
 
bool lgRadPresAbortOK
 
bool lgSonicPointAbortOK
 
bool lgSonicPoint
 
bool lgStrongDLimbo
 

Detailed Description

variables dealing with pressure across model

Member Function Documentation

const char* t_pressure::chName ( ) const
inlinevirtual

Implements module.

void t_pressure::comment ( t_warnings )
inlinevirtual

Implements module.

Member Data Documentation

string t_pressure::chLineRadPres

string with label for line with greatest contributrion to pressure

Referenced by PresTotCurrent(), and PrtComment().

vector<double> t_pressure::external_mass[3]
int t_pressure::gravity_symmetry
double t_pressure::IntegRhoGravity
long int t_pressure::ipPradMax_line

pointer to line with greatest radiation pressure

Referenced by PresTotCurrent(), and PrtComment().

long int t_pressure::ipPradMax_nzone

zone where greatest radiation pressure occurred

Referenced by PresTotCurrent(), PrtComment(), and zero().

bool t_pressure::lgContRadPresOn

flag saying whether or not incident continuum should be included in total pressure, turned off with constant gas pressure

Referenced by InitDefaultsPreparse(), ParseConstant(), ParseDynaWind(), pressureZone(), radius_first(), radius_next(), and stepDensity().

bool t_pressure::lgLineRadPresOn

flag true if radiation pressure is turned on, part of total pressure

Referenced by ParseDont(), PresTotCurrent(), and zero().

bool t_pressure::lgPradCap

lgPradCap true if radiation pressure capped on first iteration lgPradDen capped by thermalization length

Referenced by IterRestart(), IterStart(), PresTotCurrent(), PrtComment(), and zero().

bool t_pressure::lgPradDen
bool t_pressure::lgPres_magnetic_ON
bool t_pressure::lgPres_radiation_ON

lgPres_radiation_ON says whether radiation pressure enabled, turned off with constant density, constant gas pressure commands, on with constant pressure

Referenced by advection_set_default(), InitDefaultsPreparse(), iter_end_check(), ParseConstant(), PresTotCurrent(), and PrtComment().

bool t_pressure::lgPres_ram_ON
bool t_pressure::lgPressureInitialSpecified

option to set pressure at illuminated face as number on constant pressure command

Referenced by ConvInitSolution(), ConvPresTempEdenIoniz(), InitDefaultsPreparse(), and ParseConstant().

bool t_pressure::lgRadPresAbortOK

option to not abort on high radiation pressure - set true in initialization, set false with NO ABORT on constant radiation pressure command

Referenced by iter_end_check(), ParseConstant(), and zero().

bool t_pressure::lgSonicPoint

we hit the sonic point

Referenced by ConvFail(), iter_end_check(), IterRestart(), IterStart(), radius_next(), and zero().

bool t_pressure::lgSonicPointAbortOK

option to abort when we reach the sonic point - set according to the dynamics pressure mode

Referenced by iter_end_check(), PresMode::set(), and zero().

bool t_pressure::lgStrongDLimbo

True when we are in limbo while trying to find a strong-D solution. This is when there is no possible solution for the current target pressure. We just grit our teeth and plough onwards, hoping to come out the other side and to sort it all out on a later iteration of the dynamics

Referenced by IterRestart(), IterStart(), radius_next(), and zero().

realnum t_pressure::pbeta

pbeta is ratio of radition to gas pressure, evaluated in PressureTotal

Referenced by ConvFail(), iter_end_check(), IterRestart(), IterStart(), PresTotCurrent(), and PrtZone().

realnum t_pressure::pinzon_PresIntegElecThin

Referenced by radius_increment(), and SaveDo().

double t_pressure::pres_radiation_lines_curr

pres_radiation_lines_curr is line radiation pressure for current zone

Referenced by cdPressure_last(), PressureChange(), PresTotCurrent(), PrtLinePres(), PrtZone(), radius_increment(), SaveDo(), and zero().

double t_pressure::PresGasCurr
realnum t_pressure::PresHigh
realnum t_pressure::PresInteg

total pressure related variables PresInteg is integrated radiation pressure

Referenced by InitSimPostparse(), IterRestart(), IterStart(), PressureChange(), pressureZone(), radius_increment(), SaveDo(), and stepDensity().

realnum t_pressure::PresIntegElecThin

integrated radiative acceleration, if no opacity present, only dilution due to 1/r^2 this is the acceleration used in Eddington luminosity comparison

Referenced by InitSimPostparse(), IterRestart(), IterStart(), radius_increment(), and SaveDo().

realnum t_pressure::PresLow

lowest and highest total current pressure to desired pressures in model, a measure of how well converged it is. This includes total pressure, so in a constant gas pressure model will show a large excursion

realnum t_pressure::PresMax

PresMas is largest pressure that occurred in the calculation

Referenced by PresTotCurrent(), and zero().

realnum t_pressure::PresPowerlaw

Referenced by ParseConstant(), and pressureZone().

double t_pressure::PresRamCurr

the ram pressure

Referenced by ConvFail(), PressureChange(), PresTotCurrent(), SaveDo(), PresMode::set(), and zero().

double t_pressure::PressureInitialSpecified

linear pressure in nkT units, zero if not set

Referenced by ConvInitSolution(), InitDefaultsPreparse(), and ParseConstant().

double t_pressure::PresTotlCurr

the current pressure, and the correct pressure, the ratio of the two is the error, PresTotlCurr is set in PressureTotal

Referenced by cdPressure_last(), ConvFail(), ConvInitSolution(), ConvPresTempEdenIoniz(), logPressureState(), PressureChange(), PresTotCurrent(), PrtZone(), radius_first(), radius_increment(), radius_next(), SaveDo(), stepDensity(), and zero().

double t_pressure::PresTotlInit

PresTotlInit - total pressure at the illuminated face

Referenced by ConvInitSolution(), PressureChange(), pressureZone(), SaveDo(), stepDensity(), and zero().

double t_pressure::PresTurbCurr

current turbulent pressure

Referenced by PresTotCurrent(), and SaveDo().

realnum t_pressure::RadBetaMax

RadBetaMax is largest ratio of radiation to gas pressure

Referenced by IterRestart(), IterStart(), lgCheckMonitors(), PresTotCurrent(), prt_smooth_predictions(), PrtComment(), PrtFinal(), and zero().

double t_pressure::RhoGravity
double t_pressure::RhoGravity_dark

(Self-)gravity forces: Yago Ascasibar (UAM, Spring 2009)

Referenced by GravitationalPressure(), IterRestart(), and zero().

double t_pressure::RhoGravity_external
double t_pressure::RhoGravity_self
double t_pressure::self_mass_factor

The documentation for this struct was generated from the following files: