cloudy trunk
Loading...
Searching...
No Matches
Wind Struct Reference

#include <wind.h>

Collaboration diagram for Wind:

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

Detailed Description

parameters for wind model; wind.h

Definition at line 8 of file wind.h.

Constructor & Destructor Documentation

◆ Wind()

Wind::Wind ( void )
inline

Definition at line 80 of file wind.h.

References m_lgBallistic, m_lgStatic, and windv0.

Member Function Documentation

◆ lgBallistic()

bool Wind::lgBallistic ( void ) const
inline

test for model in ballistic approximation

Definition at line 31 of file wind.h.

References m_lgBallistic.

◆ lgStatic()

bool Wind::lgStatic ( void ) const
inline

test for static model

Definition at line 24 of file wind.h.

References ASSERT, m_lgStatic, and windv0.

◆ setBallistic()

void Wind::setBallistic ( void )
inline

Definition at line 94 of file wind.h.

References m_lgBallistic, and m_lgStatic.

◆ setDefault()

void Wind::setDefault ( void )
inline

Definition at line 82 of file wind.h.

References m_lgBallistic, and m_lgStatic.

◆ setStatic()

void Wind::setStatic ( void )
inline

Definition at line 88 of file wind.h.

References m_lgBallistic, and m_lgStatic.

Field Documentation

◆ AccelAver

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.

◆ AccelCont

realnum Wind::AccelCont

continuum radiative acceleration - cm s-2

Definition at line 55 of file wind.h.

◆ AccelElectron

realnum Wind::AccelElectron

electron scattering radiative acceleration - cm s-2

Definition at line 58 of file wind.h.

◆ AccelGravity

realnum Wind::AccelGravity

inward gravitational acceleration, cm s-2, a positive number

Definition at line 49 of file wind.h.

◆ AccelLine

realnum Wind::AccelLine

line radiative acceleration - cm s-2

Definition at line 61 of file wind.h.

◆ AccelMax

realnum Wind::AccelMax

largest acceleration, usually at illuminated face - cm s-2

Definition at line 68 of file wind.h.

◆ AccelTotalOutward

realnum Wind::AccelTotalOutward

total outward radiative acceleration, lines and continuum, cm s-2

Definition at line 52 of file wind.h.

◆ acldr

realnum Wind::acldr

Definition at line 46 of file wind.h.

◆ comass

realnum Wind::comass

central object mass in solar units, to compute inward acceleration

Definition at line 14 of file wind.h.

◆ DiskRadius

double Wind::DiskRadius

Definition at line 78 of file wind.h.

◆ dvdr

realnum Wind::dvdr

acceleration within local zone

Definition at line 21 of file wind.h.

◆ emdot

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.

◆ fmul

realnum Wind::fmul

force multiplier - dimensionless ratio of total to electron scattering acceleration

Definition at line 65 of file wind.h.

◆ lgDisk

bool Wind::lgDisk

Definition at line 74 of file wind.h.

◆ lgVelPos

bool Wind::lgVelPos

flag set if wind solution had negative velocity

Definition at line 71 of file wind.h.

◆ lgWindOK

bool Wind::lgWindOK

*flag set if wind not ok, (below sonic point)

Definition at line 42 of file wind.h.

◆ m_lgBallistic

bool Wind::m_lgBallistic
private

Definition at line 103 of file wind.h.

Referenced by lgBallistic(), setBallistic(), setDefault(), setStatic(), and Wind().

◆ m_lgStatic

bool Wind::m_lgStatic
private

Definition at line 101 of file wind.h.

Referenced by lgStatic(), setBallistic(), setDefault(), setStatic(), and Wind().

◆ windv

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.

◆ windv0

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 lgStatic(), and Wind().


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