cloudy
trunk
|
#include <wind.h>
Public Member Functions | |
bool | lgStatic (void) const |
bool | lgBallistic (void) const |
Wind (void) | |
void | setDefault (void) |
void | setStatic (void) |
void | setBallistic (void) |
Data Fields | |
realnum | windv0 |
realnum | comass |
realnum | windv |
realnum | dvdr |
realnum | emdot |
bool | lgWindOK |
realnum | AccelAver |
realnum | acldr |
realnum | AccelGravity |
realnum | AccelTotalOutward |
realnum | AccelCont |
realnum | AccelElectron |
realnum | AccelLine |
realnum | fmul |
realnum | AccelMax |
bool | lgVelPos |
bool | lgDisk |
double | DiskRadius |
Private Attributes | |
bool | m_lgStatic |
bool | m_lgBallistic |
|
inline |
test for model in ballistic approximation
Definition at line 31 of file wind.h.
References m_lgBallistic.
Referenced by CoolEvaluate(), GetAveVelocity(), GetDopplerWidth(), iter_end_check(), lgConserveEnergy(), ParseCommands(), PresTotCurrent(), PrtComment(), radius_first(), RT_line_one_tauinc(), RT_LineWidth(), and zoneDensity().
|
inline |
test for static model
Definition at line 24 of file wind.h.
References ASSERT, m_lgStatic, and windv0.
Referenced by DynaIterEnd(), GetAveVelocity(), GetDopplerWidth(), iter_end_check(), lgConserveEnergy(), Magnetic_evaluate(), ParseCommands(), PresTotCurrent(), PrtComment(), PrtZone(), radius_first(), radius_next(), and zoneDensity().
|
inline |
Definition at line 94 of file wind.h.
References m_lgBallistic, and m_lgStatic.
Referenced by ParseDynaWind().
|
inline |
Definition at line 82 of file wind.h.
References m_lgBallistic, and m_lgStatic.
Referenced by ParseDynaWind().
|
inline |
Definition at line 88 of file wind.h.
References m_lgBallistic, and m_lgStatic.
Referenced by InitDefaultsPreparse(), InitDynaTimestep(), ParseDynaTime(), and ParseDynaWind().
realnum Wind::AccelAver |
variables for tracking average radiative acceleration - used to report average acceleration at end of calculation
Definition at line 46 of file wind.h.
Referenced by InitDefaultsPreparse(), IterRestart(), IterStart(), PrtFinal(), and radius_increment().
realnum Wind::AccelCont |
continuum radiative acceleration - cm s-2
Definition at line 55 of file wind.h.
Referenced by InitDefaultsPreparse(), PresTotCurrent(), PrtZone(), SaveDo(), and SaveSpecial().
realnum Wind::AccelElectron |
electron scattering radiative acceleration - cm s-2
Definition at line 58 of file wind.h.
Referenced by InitDefaultsPreparse(), PresTotCurrent(), and radius_increment().
realnum Wind::AccelGravity |
inward gravitational acceleration, cm s-2, a positive number
Definition at line 49 of file wind.h.
Referenced by InitDefaultsPreparse(), InitSimPostparse(), PresTotCurrent(), PrtZone(), radius_first(), radius_increment(), RT_line_one_tauinc(), SaveDo(), and zoneDensity().
realnum Wind::AccelLine |
line radiative acceleration - cm s-2
Definition at line 61 of file wind.h.
Referenced by InitDefaultsPreparse(), PresTotCurrent(), PrtZone(), and SaveDo().
realnum Wind::AccelMax |
largest acceleration, usually at illuminated face - cm s-2
Definition at line 68 of file wind.h.
Referenced by InitDefaultsPreparse(), IterRestart(), and radius_increment().
realnum Wind::AccelTotalOutward |
total outward radiative acceleration, lines and continuum, cm s-2
Definition at line 52 of file wind.h.
Referenced by CoolEvaluate(), InitDefaultsPreparse(), PresTotCurrent(), PrtZone(), radius_first(), radius_increment(), radius_next(), RT_line_one_tauinc(), SaveDo(), and zoneDensity().
realnum Wind::acldr |
Definition at line 46 of file wind.h.
Referenced by InitDefaultsPreparse(), IterRestart(), IterStart(), PrtFinal(), and radius_increment().
realnum Wind::comass |
central object mass in solar units, to compute inward acceleration
Definition at line 14 of file wind.h.
Referenced by InitDefaultsPreparse(), InitSimPostparse(), ParseDynaWind(), and PresTotCurrent().
double Wind::DiskRadius |
Definition at line 78 of file wind.h.
Referenced by InitDefaultsPreparse(), InitSimPostparse(), and PresTotCurrent().
realnum Wind::dvdr |
acceleration within local zone
Definition at line 21 of file wind.h.
Referenced by InitDefaultsPreparse(), RT_line_escape(), RT_line_one_tauinc(), RT_line_pumping(), and SaveDo().
realnum Wind::emdot |
mass flux at inner radius, n*v [cm-3 cm s-1 == cm-2 s-1], set in parsecommands at inner boundary. needs r^2 to be real mass flux density set by conservation of this quantity in wind model
Definition at line 39 of file wind.h.
Referenced by InitDefaultsPreparse(), ParseCommands(), PrtComment(), and zoneDensity().
realnum Wind::fmul |
force multiplier - dimensionless ratio of total to electron scattering acceleration
Definition at line 65 of file wind.h.
Referenced by InitDefaultsPreparse(), PresTotCurrent(), PrtZone(), SaveDo(), and SaveSpecial().
bool Wind::lgDisk |
Definition at line 74 of file wind.h.
Referenced by InitDefaultsPreparse(), InitSimPostparse(), ParseDynaWind(), and zoneDensity().
bool Wind::lgVelPos |
flag set if wind solution had negative velocity
Definition at line 71 of file wind.h.
Referenced by InitDefaultsPreparse(), iter_end_check(), IterRestart(), and zoneDensity().
bool Wind::lgWindOK |
*flag set if wind not ok, (below sonic point)
Definition at line 42 of file wind.h.
Referenced by InitDefaultsPreparse(), ParseDynaWind(), and PrtComment().
|
private |
Definition at line 103 of file wind.h.
Referenced by lgBallistic(), setBallistic(), setDefault(), and setStatic().
|
private |
Definition at line 101 of file wind.h.
Referenced by lgStatic(), setBallistic(), setDefault(), and setStatic().
realnum Wind::windv |
current wind velocity cm s-1, code tests for wind solution by seeing whether this is positive, static solution if 0
Definition at line 18 of file wind.h.
Referenced by CoolEvaluate(), DynaEndZone(), DynaIonize(), DynaPrtZone(), InitDefaultsPreparse(), InitDynaTimestep(), iter_end_check(), IterRestart(), lgCheckMonitors(), Magnetic_evaluate(), ParseDynaTime(), ParseDynaWind(), PressureChange(), PresTotCurrent(), PrtComment(), PrtZone(), radius_first(), radius_increment(), radius_next(), RT_fine_clear(), RT_line_escape(), RT_line_one_tauinc(), SaveDo(), PresMode::set(), stepDensity(), and zoneDensity().
realnum Wind::windv0 |
initial wind velocity cm s-1, will be negative for D-critical flow
Definition at line 11 of file wind.h.
Referenced by DynaIterEnd(), GetAveVelocity(), GetDopplerWidth(), InitDefaultsPreparse(), InitDynaTimestep(), IterRestart(), lgConserveEnergy(), lgStatic(), Magnetic_evaluate(), ParseCommands(), ParseDynaTime(), ParseDynaWind(), RT_fine_clear(), and RT_LineWidth().