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

#include <radius.h>

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

double rinner
 
double Radius
 
double Radius_mid_zone
 
double drad
 
double drad_mid_zone
 
double depth
 
double depth_mid_zone
 
double Depth2Go
 
double r1r0sq
 
double PI4_rinner_sq
 
double PI4_Radius_sq
 
double drNext
 
double distance
 
double dRadSign
 
double drad_x_fillfac
 
double depth_x_fillfac
 
double darea_x_fillfac
 
double dVeffVol
 
double dVeffAper
 
double dRNeff
 
double dVolOutwrd
 
double dVolReflec
 
double BeamInIn
 
double BeamInOut
 
double BeamOutOut
 
bool lgdR2Small
 
bool lgRadiusKnown
 
double CylindHigh
 
bool lgCylnOn
 
double rdfalt
 
realnum glbden
 
realnum glbrad
 
realnum glbpow
 
realnum glbdst
 
bool lgDrMnOn
 
bool lgPredLumin
 
realnum pirsq
 
double Conv2PrtInten
 
double sdrmin
 
double sdrmax
 
double lgFixed
 
double sdrmin_rel_depth
 
bool lgSdrminRel
 
bool lgSdrmaxRel
 
bool lgSMinON
 
bool lgDR2Big
 
realnum drMinimum
 
double dr_min_last_iter
 
double dr_max_last_iter
 
bool lgDrMinUsed
 
realnum drChange
 
realnum thickness_stromgren
 

Detailed Description

Definition at line 21 of file radius.h.

Member Function Documentation

const char* t_radius::chName ( ) const
inlinevirtual

Implements module.

Definition at line 22 of file radius.h.

void t_radius::comment ( t_warnings )
inlinevirtual

Implements module.

Definition at line 27 of file radius.h.

void t_radius::zero ( void  )
virtual

Field Documentation

double t_radius::BeamInIn

Beam vars are related to lines where inward and outward fracs known BeamInIn inward part of inwardly directed beam, 0 if sphere

Definition at line 108 of file radius.h.

Referenced by TransitionProxy::outline(), outline_base_bin(), and ZoneStart().

double t_radius::BeamInOut

BeamInOut outward part of inwardly directed beam, 0 if not sphere

Definition at line 111 of file radius.h.

Referenced by TransitionProxy::outline(), outline_base_bin(), RT_diffuse(), and ZoneStart().

double t_radius::BeamOutOut

BeamOutOut outward part of outwardly directed beam

Definition at line 114 of file radius.h.

Referenced by outline_base_bin(), RT_diffuse(), and ZoneStart().

double t_radius::Conv2PrtInten

additive factor to convert stored line intensities within code into a final desired unit, luminosity, flux at Earth, or surface brightness

Definition at line 153 of file radius.h.

Referenced by cdLine_ip(), conorm(), diatomics::getLine(), diatomics::H2_PunchDo(), iter_end_check(), lines_continuum(), optimize_func(), PrintSpectrum(), PrtFinal(), PrtLineSum(), SaveDo(), and SaveSpeciesBands().

double t_radius::CylindHigh

lgCylnOn set true when cylinder command given cylind is half height in centimeters

Definition at line 126 of file radius.h.

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

double t_radius::darea_x_fillfac

darea_x_fillfac is 2pi * radius * drad * filling factor

Definition at line 83 of file radius.h.

Referenced by t_mean::MeanInc(), zero(), and ZoneStart().

double t_radius::depth
double t_radius::Depth2Go

an estimate of the depth to the shielded face

Definition at line 31 of file radius.h.

Referenced by radius_first(), radius_next(), and ZoneStart().

double t_radius::depth_mid_zone

depth from illuminated face to center of last or current zone

Definition at line 31 of file radius.h.

Referenced by CoolSave(), DynaSave(), diatomics::H2_PunchDo(), matchGeneric(), PrtZone(), save_line(), Save_Line_RT(), SaveDo(), SaveHeat(), SaveSpeciesOne(), zero(), and ZoneStart().

double t_radius::depth_x_fillfac

integrated dReff, integral of depth times filling factor

Definition at line 80 of file radius.h.

Referenced by lgCheckMonitors(), PrtFinal(), RT_line_fine_opacity(), zero(), and ZoneStart().

double t_radius::distance

the distance to the object from Earth, set with the distance command

Definition at line 71 of file radius.h.

Referenced by conorm(), optimize_func(), ParseDistance(), PrtFinal(), and zero().

double t_radius::dr_max_last_iter

Definition at line 183 of file radius.h.

Referenced by DynaIterEnd(), IterStart(), and ZoneStart().

double t_radius::dr_min_last_iter

min and max dr found in previous iteration

Definition at line 182 of file radius.h.

Referenced by IterStart(), and ZoneStart().

double t_radius::drad
double t_radius::drad_mid_zone

the distance between middle of previous zone and middle of this zone

Definition at line 31 of file radius.h.

Referenced by ConvInitSolution(), IterRestart(), radius_first(), zero(), and ZoneStart().

double t_radius::drad_x_fillfac
double t_radius::dRadSign

sign of dr for going in or out, 1 (usually) or -1

Definition at line 74 of file radius.h.

Referenced by GravitationalPressure(), ParseRoberto(), RT_continuum(), zero(), and ZoneStart().

realnum t_radius::drChange

fractional change used in nextdr

Definition at line 189 of file radius.h.

Referenced by InitDefaultsPreparse(), ParseSet(), radius_first(), and radius_next().

realnum t_radius::drMinimum

fraction of initial thickness, set in firstdr do not let dr get smaller than this NB - drMinimum not used in code - delete?

Definition at line 179 of file radius.h.

Referenced by radius_first(), and radius_next().

double t_radius::dRNeff

dRNeff is next dr effective radius

Definition at line 96 of file radius.h.

Referenced by zero(), and ZoneStart().

double t_radius::drNext

next dr, as set in nextdr

Definition at line 67 of file radius.h.

Referenced by iter_end_check(), IterRestart(), IterStart(), radius_increment(), radius_next(), zero(), and ZoneStart().

double t_radius::dVeffAper

dVeff is effec vol relative to inner radius this version is affected by the APERTURE SLIT | BEAM commands it should ONLY be used for quantities observed through the aperture if the APERTURE command is not used, dVeffAper and dVeffVol are identical

Definition at line 93 of file radius.h.

Referenced by ConvInitSolution(), diatomics::H2_LinesAdd(), lincom(), lines(), lines_continuum(), lines_general(), lines_grains(), lines_hydro(), lines_molecules(), radius_increment(), SpeciesPseudoContAccum(), zero(), and ZoneStart().

double t_radius::dVeffVol

dVeff is effec vol relative to inner radius, this version is not affected by the APERTURE command

Definition at line 87 of file radius.h.

Referenced by GravitationalPressure(), t_mean::MeanInc(), radius_increment(), zero(), and ZoneStart().

double t_radius::dVolOutwrd

dVolOutwrd, dVolReflec, outward and reflected effective vols used to get outward and reflected beams, these include only the vol of the current shell times the covering factor, and a number between 0 and 1 that is the fraction of the beam that goes out or is reflected. this is determined by the rt covering factor

Definition at line 103 of file radius.h.

Referenced by outline_base_bin(), RT_continuum(), RT_diffuse(), and ZoneStart().

double t_radius::dVolReflec

Definition at line 104 of file radius.h.

Referenced by outline_base_bin(), and ZoneStart().

realnum t_radius::glbden

variables that deal with the globule command, glbden, the density

Definition at line 134 of file radius.h.

Referenced by ParseGlobule(), radius_next(), and zoneDensity().

realnum t_radius::glbdst
realnum t_radius::glbpow

the globule power

Definition at line 134 of file radius.h.

Referenced by ParseGlobule(), radius_next(), and zoneDensity().

realnum t_radius::glbrad

the radius for the globule command

Definition at line 134 of file radius.h.

Referenced by InitDefaultsPreparse(), ParseGlobule(), radius_next(), zoneDensity(), and ZoneStart().

bool t_radius::lgCylnOn

Definition at line 127 of file radius.h.

Referenced by ParseCylinder(), PrtComment(), PrtFinal(), and zero().

bool t_radius::lgDR2Big

this flag controlled in radius_first and says whether this option caused the first zone to have larger than optimal thickness

Definition at line 174 of file radius.h.

Referenced by PrtComment(), and radius_first().

bool t_radius::lgdR2Small

flag saying that zone thickness became too small, likely because of an uncontrolled oscillation

Definition at line 118 of file radius.h.

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

bool t_radius::lgDrMinUsed

set true is calculations stops because zone thickness gets too small

Definition at line 186 of file radius.h.

Referenced by iter_end_check(), IterRestart(), PrtComment(), radius_next(), and zero().

bool t_radius::lgDrMnOn

flag to turn off dr checking in dextdr when globule command entered

Definition at line 142 of file radius.h.

Referenced by ParseGlobule(), radius_first(), and zero().

double t_radius::lgFixed

Definition at line 160 of file radius.h.

Referenced by ParseSet(), radius_next(), and zero().

bool t_radius::lgPredLumin

lgPredLumin flag set true if intensities entered into $4\pi$ st

Definition at line 145 of file radius.h.

Referenced by conorm(), ParseCommands(), PrtFinal(), PrtHeader(), and ZoneStart().

bool t_radius::lgRadiusKnown

this says whether radius has been set - if true then can do luminosities, if false then only intensities

Definition at line 122 of file radius.h.

Referenced by conorm(), ParseCommands(), ParseRadius(), PrtFinal(), SaveDo(), and zero().

bool t_radius::lgSdrmaxRel
bool t_radius::lgSdrminRel

false, then sdrmin/sdrmax are limits to step size in cm, true, then are relative fraction of the current radius

Definition at line 166 of file radius.h.

Referenced by ParseSet(), radius_first(), radius_next(), and zero().

bool t_radius::lgSMinON

lgSMinON is flag saying that set drmin has been enteed

Definition at line 170 of file radius.h.

Referenced by ParseSet(), radius_first(), and zero().

double t_radius::PI4_Radius_sq

the area of the outer radius in cm in luminosity case, intensity case is sphericity correction, (r_2/r_1)^2

Definition at line 31 of file radius.h.

Referenced by flxCell(), SaveDo(), zero(), and ZoneStart().

double t_radius::PI4_rinner_sq

the area of the inner radius in cm

Definition at line 31 of file radius.h.

Referenced by cdSPEC2(), flxCell(), zero(), and ZoneStart().

realnum t_radius::pirsq

log of4 pi r_inner^2, 0 if intensities are printed, but is log of 4pi r_o^2 if any luminosity commands are entered

Definition at line 149 of file radius.h.

Referenced by conorm(), PrtFinal(), and PrtHeader().

double t_radius::r1r0sq

ratio of square of outer edge of current zone to radius of illuminated face of cloud - note continuum is relative to outer edge after ZoneDone is called too

Definition at line 31 of file radius.h.

Referenced by iter_end_check(), lines_continuum(), mole_effects(), mole_h_reactions(), pltcon(), PrtComment(), PrtFinal(), radius_increment(), RT_continuum(), sum_radiation(), zero(), zoneDensity(), and ZoneStart().

double t_radius::Radius
double t_radius::Radius_mid_zone

the radius, to center of last or current zone

Definition at line 31 of file radius.h.

Referenced by PrtZone(), Save_Line_RT(), SaveDo(), zero(), and ZoneStart().

double t_radius::rdfalt

default inner radius when none set, log r =25 in scalar

Definition at line 130 of file radius.h.

Referenced by ParseCommands(), and zero().

double t_radius::rinner
double t_radius::sdrmax
double t_radius::sdrmin

these are 1e-30 and 1e30 by default, and are set with "set dr" cmnds used as one of a pair of limits to how big or small zones get set dr command forces constant dr by setting both to same number

Definition at line 158 of file radius.h.

Referenced by ConvInitSolution(), ParseSet(), radius_first(), radius_next(), and zero().

double t_radius::sdrmin_rel_depth

Definition at line 162 of file radius.h.

Referenced by ParseSet(), radius_next(), and zero().

realnum t_radius::thickness_stromgren

the Stromgren thickness

Definition at line 192 of file radius.h.

Referenced by radius_first().


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