cloudy  trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Data Fields
t_pressure Struct Reference

#include <pressure.h>

Inheritance diagram for t_pressure:
Inheritance graph
[legend]
Collaboration diagram for t_pressure:
Collaboration graph
[legend]

Public Member Functions

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

Data Fields

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

Definition at line 19 of file pressure.h.

Member Function Documentation

const char* t_pressure::chName ( ) const
inlinevirtual

Implements module.

Definition at line 21 of file pressure.h.

void t_pressure::comment ( t_warnings )
inlinevirtual

Implements module.

Definition at line 27 of file pressure.h.

void t_pressure::zero ( void  )
virtual

Field Documentation

string t_pressure::chLineRadPres

string with label for line with greatest contributrion to pressure

Definition at line 109 of file pressure.h.

Referenced by PresTotCurrent(), and PrtComment().

vector<double> t_pressure::external_mass[3]

Definition at line 86 of file pressure.h.

Referenced by GravitationalPressure(), ParseCommands(), and ParseGravity().

int t_pressure::gravity_symmetry
double t_pressure::IntegRhoGravity

Definition at line 83 of file pressure.h.

Referenced by IterRestart(), pressureZone(), radius_increment(), SaveDo(), and zero().

long int t_pressure::ipPradMax_line

pointer to line with greatest radiation pressure

Definition at line 103 of file pressure.h.

Referenced by PresTotCurrent(), and PrtComment().

long int t_pressure::ipPradMax_nzone

zone where greatest radiation pressure occurred

Definition at line 106 of file pressure.h.

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

Definition at line 65 of file pressure.h.

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

Definition at line 117 of file pressure.h.

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

bool t_pressure::lgPradCap

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

Definition at line 113 of file pressure.h.

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

bool t_pressure::lgPradDen

Definition at line 113 of file pressure.h.

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

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

Definition at line 90 of file pressure.h.

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

Definition at line 56 of file pressure.h.

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

Definition at line 121 of file pressure.h.

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

bool t_pressure::lgSonicPoint

we hit the sonic point

Definition at line 128 of file pressure.h.

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

Definition at line 125 of file pressure.h.

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

Definition at line 135 of file pressure.h.

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

realnum t_pressure::pbeta

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

Definition at line 96 of file pressure.h.

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

realnum t_pressure::pinzon
realnum t_pressure::pinzon_PresIntegElecThin

Definition at line 75 of file pressure.h.

Referenced by radius_increment(), and SaveDo().

double t_pressure::pres_radiation_lines_curr

pres_radiation_lines_curr is line radiation pressure for current zone

Definition at line 61 of file pressure.h.

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

double t_pressure::PresGasCurr
realnum t_pressure::PresHigh

Definition at line 33 of file pressure.h.

realnum t_pressure::PresInteg

total pressure related variables PresInteg is integrated radiation pressure

Definition at line 69 of file pressure.h.

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

Definition at line 75 of file pressure.h.

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

Definition at line 33 of file pressure.h.

realnum t_pressure::PresMax

PresMas is largest pressure that occurred in the calculation

Definition at line 96 of file pressure.h.

Referenced by PresTotCurrent(), and zero().

realnum t_pressure::PresPowerlaw

Definition at line 36 of file pressure.h.

Referenced by ParseConstant(), and pressureZone().

double t_pressure::PresRamCurr

the ram pressure

Definition at line 39 of file pressure.h.

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

double t_pressure::PressureInitialSpecified

linear pressure in nkT units, zero if not set

Definition at line 58 of file pressure.h.

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

Definition at line 46 of file pressure.h.

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

double t_pressure::PresTotlError
double t_pressure::PresTotlInit

PresTotlInit - total pressure at the illuminated face

Definition at line 52 of file pressure.h.

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

double t_pressure::PresTurbCurr

current turbulent pressure

Definition at line 42 of file pressure.h.

Referenced by PresTotCurrent(), and SaveDo().

realnum t_pressure::RadBetaMax

RadBetaMax is largest ratio of radiation to gas pressure

Definition at line 96 of file pressure.h.

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

double t_pressure::RhoGravity

Definition at line 82 of file pressure.h.

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

double t_pressure::RhoGravity_dark

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

Definition at line 79 of file pressure.h.

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

double t_pressure::RhoGravity_external

Definition at line 81 of file pressure.h.

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

double t_pressure::RhoGravity_self

Definition at line 80 of file pressure.h.

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

double t_pressure::self_mass_factor

Definition at line 85 of file pressure.h.

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


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