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

#include <geometry.h>

Inheritance diagram for t_geometry:
Inheritance graph
[legend]
Collaboration diagram for t_geometry:
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

bool lgGeoPP
 
realnum DirectionalCosin
 
realnum FillFac
 
realnum filpow
 
realnum fiscal
 
bool lgSphere
 
realnum covgeo
 
realnum covaper
 
realnum covrt
 
bool lgStatic
 
long int iEmissPower
 
realnum size
 
bool lgSizeSet
 
bool lgStaticNoIt
 
long int nprint
 
long int nend_max
 
bool lgZoneSet
 
bool lgZoneTrp
 

Detailed Description

geometry.h

Definition at line 11 of file geometry.h.

Member Function Documentation

const char* t_geometry::chName ( ) const
inlinevirtual

Implements module.

Definition at line 12 of file geometry.h.

void t_geometry::comment ( t_warnings )
inlinevirtual

Implements module.

Definition at line 18 of file geometry.h.

void t_geometry::zero ( void  )
virtual

Implements module.

Definition at line 7 of file geometry.cpp.

References covgeo, covrt, FillFac, filpow, fiscal, iEmissPower, lgSphere, lgStatic, lgStaticNoIt, lgZoneSet, lgZoneTrp, and nprint.

Field Documentation

realnum t_geometry::covaper

the aperture covering factor; must be between 0 and 1: iEmissPower == 2 : in this case the variable is set equal to covgeo iEmissPower == 1 : the fraction of a large circle in the plane that is being observed that actually passes through nebular material. iEmissPower == 0 : is gas present only at the front or the back (D_0 = 1/2) or on both sides (D_0 = 1) of the central source. this is the variable D_alpha in the Hazy discussion of the APERTURE command

Definition at line 54 of file geometry.h.

Referenced by InitDefaultsPreparse(), ParseAperture(), ParseCommands(), PrtComment(), PrtFinal(), and ZoneStart().

realnum t_geometry::covgeo

default open geometry, covgeo is unity, covrt is zero. closed geometry, covgeo is unity, and covrt is unity linearly affects line luminosities but not intensities (since they are per unit area of cloud. When sphere command is entered with no optional covering factor this is set to 1 and covrt is set to covgeo. The default is an open geometry, and covgeo is unity for this as well

Definition at line 45 of file geometry.h.

Referenced by conorm(), flxCell(), lgConserveEnergy(), lines_continuum(), lines_hydro(), ParseCommands(), ParseCovering(), ParseSphere(), pltcon(), PrtFinal(), sum_radiation(), zero(), and ZoneStart().

realnum t_geometry::covrt

radiative transfer covering factor accounts for diffuse radiation escaping from system in open geometry. weakly affects intensities and luminosities. For open geometry this is zero (half of diffuse fields escape from cloud and do not strike gas, for a closed geometry this is unity also set to covgeo (def unity) if covering factor command is entered

Definition at line 61 of file geometry.h.

Referenced by lindst1(), ParseCovering(), ParseSphere(), PrtComment(), zero(), and ZoneStart().

realnum t_geometry::DirectionalCosin

1/cos incident continuum entering AngleIllumRadian from normal - this is 1./cos(normal), so > 1.

Definition at line 25 of file geometry.h.

Referenced by InitDefaultsPreparse(), IterEnd(), IterRestart(), IterStart(), ParseIlluminate(), radius_first(), radius_increment(), radius_next(), RT_continuum(), and ZoneStart().

realnum t_geometry::FillFac

FillFac is filling factor, default 1, others are parameters to make function of radius

Definition at line 29 of file geometry.h.

Referenced by ConvInitSolution(), ConvPresTempEdenIoniz(), ParseCommands(), ParseFill(), PressureChange(), PrtComment(), PrtFinal(), PrtZone(), radius_first(), radius_increment(), radius_next(), RT_line_escape(), RT_line_one_tauinc(), SaveDo(), zero(), and ZoneStart().

realnum t_geometry::filpow

Definition at line 29 of file geometry.h.

Referenced by ParseFill(), PrtComment(), zero(), and ZoneStart().

realnum t_geometry::fiscal

Definition at line 29 of file geometry.h.

Referenced by ParseFill(), zero(), and ZoneStart().

long int t_geometry::iEmissPower

this is the power of r that is used in the line flux integral 2 : default case - integrate the whole (spherical) nebula 1 : simulate a long slit over the central source 0 : simulate a pencil beam centered on the central source this is the variable alpha in the Hazy discussion of the APERTURE command

Definition at line 71 of file geometry.h.

Referenced by conorm(), lgConserveEnergy(), lines_continuum(), lines_general(), lines_hydro(), ParseAperture(), ParseCommands(), PrtComment(), PrtFinal(), zero(), and ZoneStart().

bool t_geometry::lgGeoPP

true if geometry is plane parallel, set in comment

Definition at line 21 of file geometry.h.

Referenced by IterEnd(), PrtFinal(), and PrtMeanIon().

bool t_geometry::lgSizeSet

has the aperture size been set by the user?

Definition at line 80 of file geometry.h.

Referenced by InitDefaultsPreparse(), ParseAperture(), and PrtFinal().

bool t_geometry::lgSphere
bool t_geometry::lgStatic

flag saying that spherical geometry is static, set with sphere static

Definition at line 64 of file geometry.h.

Referenced by ParseSphere(), PrtAllTau(), PrtComment(), RT_line_one_tau_reset(), and zero().

bool t_geometry::lgStaticNoIt

flag saying that it is ok to not iterate when sphere static is set, set with (OK) option on sphere static, used for testing hydrogen atom

Definition at line 84 of file geometry.h.

Referenced by ParseSphere(), PrtComment(), and zero().

bool t_geometry::lgZoneSet

lgZonSet set if stopping zone specified

Definition at line 94 of file geometry.h.

Referenced by ParseStop(), PrtComment(), and zero().

bool t_geometry::lgZoneTrp

lgZoneTrp set if stopped due to zone number

Definition at line 97 of file geometry.h.

Referenced by iter_end_check(), IterStart(), PrtComment(), and zero().

long int t_geometry::nend_max

Definition at line 91 of file geometry.h.

Referenced by ContCreateMesh().

long int t_geometry::nprint

nprint is how many zones to print

Definition at line 87 of file geometry.h.

Referenced by iter_end_check(), IterStart(), ParseTrace(), and zero().

realnum t_geometry::size

size of the aperture: iEmissPower == 2 : in this case the variable is not used iEmissPower == 1 : slit width in arcsec iEmissPower == 0 : surface area of the pencil beam in arcsec^2

Definition at line 77 of file geometry.h.

Referenced by conorm(), InitDefaultsPreparse(), and ParseAperture().


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