Cloudy
Spectral Synthesis Code for Astrophysics
|
#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) |
Public Attributes | |
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 |
parameters for wind model; wind.h
|
inline |
|
inline |
test for model in ballistic approximation
References m_lgBallistic.
Referenced by ConserveEnergy(), CoolEvaluate(), GetAveVelocity(), GetDopplerWidth(), iter_end_check(), ParseCommands(), PresTotCurrent(), PrtComment(), radius_first(), RT_line_one_tauinc(), RT_LineWidth(), and zoneDensity().
|
inline |
test for static model
References ASSERT, m_lgStatic, and windv0.
Referenced by ConserveEnergy(), DynaIterEnd(), GetAveVelocity(), GetDopplerWidth(), iter_end_check(), Magnetic_evaluate(), ParseCommands(), PresTotCurrent(), PrtComment(), PrtZone(), radius_first(), radius_next(), and zoneDensity().
|
inline |
References m_lgBallistic, and m_lgStatic.
Referenced by ParseDynaWind().
|
inline |
References m_lgBallistic, and m_lgStatic.
Referenced by ParseDynaWind().
|
inline |
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
Referenced by InitDefaultsPreparse(), IterRestart(), IterStart(), PrtFinal(), and radius_increment().
realnum Wind::AccelCont |
continuum radiative acceleration - cm s-2
Referenced by InitDefaultsPreparse(), PresTotCurrent(), PrtZone(), SaveDo(), and SaveSpecial().
realnum Wind::AccelElectron |
electron scattering radiative acceleration - cm s-2
Referenced by InitDefaultsPreparse(), PresTotCurrent(), and radius_increment().
realnum Wind::AccelGravity |
inward gravitational acceleration, cm s-2, a positive number
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
Referenced by InitDefaultsPreparse(), PresTotCurrent(), PrtZone(), and SaveDo().
realnum Wind::AccelMax |
largest acceleration, usually at illuminated face - cm s-2
Referenced by InitDefaultsPreparse(), IterRestart(), and radius_increment().
realnum Wind::AccelTotalOutward |
total outward radiative acceleration, lines and continuum, cm s-2
Referenced by CoolEvaluate(), InitDefaultsPreparse(), PresTotCurrent(), PrtZone(), radius_first(), radius_increment(), radius_next(), RT_line_one_tauinc(), SaveDo(), and zoneDensity().
realnum Wind::acldr |
Referenced by InitDefaultsPreparse(), IterRestart(), IterStart(), PrtFinal(), and radius_increment().
realnum Wind::comass |
central object mass in solar units, to compute inward acceleration
Referenced by InitDefaultsPreparse(), InitSimPostparse(), ParseDynaWind(), and PresTotCurrent().
double Wind::DiskRadius |
Referenced by InitDefaultsPreparse(), InitSimPostparse(), and PresTotCurrent().
realnum Wind::dvdr |
acceleration within local zone
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
Referenced by InitDefaultsPreparse(), ParseCommands(), PrtComment(), and zoneDensity().
realnum Wind::fmul |
force multiplier - dimensionless ratio of total to electron scattering acceleration
Referenced by InitDefaultsPreparse(), PresTotCurrent(), PrtZone(), SaveDo(), and SaveSpecial().
bool Wind::lgDisk |
Referenced by InitDefaultsPreparse(), InitSimPostparse(), ParseDynaWind(), and zoneDensity().
bool Wind::lgVelPos |
flag set if wind solution had negative velocity
Referenced by InitDefaultsPreparse(), iter_end_check(), IterRestart(), and zoneDensity().
bool Wind::lgWindOK |
*flag set if wind not ok, (below sonic point)
Referenced by InitDefaultsPreparse(), ParseDynaWind(), and PrtComment().
|
private |
Referenced by lgBallistic(), setBallistic(), setDefault(), and setStatic().
|
private |
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
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
Referenced by ConserveEnergy(), DynaIterEnd(), GetAveVelocity(), GetDopplerWidth(), InitDefaultsPreparse(), InitDynaTimestep(), IterRestart(), lgStatic(), Magnetic_evaluate(), ParseCommands(), ParseDynaTime(), ParseDynaWind(), RT_fine_clear(), and RT_LineWidth().