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

#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
 

Detailed Description

parameters for wind model; wind.h

Constructor & Destructor Documentation

Wind::Wind ( void  )
inline

Member Function Documentation

bool Wind::lgBallistic ( void  ) const
inline
void Wind::setBallistic ( void  )
inline

References m_lgBallistic, and m_lgStatic.

Referenced by ParseDynaWind().

void Wind::setDefault ( void  )
inline

References m_lgBallistic, and m_lgStatic.

Referenced by ParseDynaWind().

void Wind::setStatic ( void  )
inline

Member Data Documentation

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::comass

central object mass in solar units, to compute inward acceleration

Referenced by InitDefaultsPreparse(), InitSimPostparse(), ParseDynaWind(), and PresTotCurrent().

double Wind::DiskRadius
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::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().

bool Wind::m_lgBallistic
private
bool Wind::m_lgStatic
private

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