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

#include <radius.h>

Inheritance diagram for t_radius:
Collaboration diagram for t_radius:

Public Member Functions

const char * chName () const
 
void zero ()
 
void comment (t_warnings &)
 
- Public Member Functions inherited from module
 module ()
 
virtual ~module ()
 

Public Attributes

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
 

Member Function Documentation

const char* t_radius::chName ( ) const
inlinevirtual

Implements module.

void t_radius::comment ( t_warnings )
inlinevirtual

Implements module.

Member Data 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

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

double t_radius::BeamInOut

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

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

double t_radius::BeamOutOut

BeamOutOut outward part of outwardly directed beam

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

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

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

double t_radius::darea_x_fillfac

darea_x_fillfac is 2pi * radius * drad * filling factor

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

double t_radius::Depth2Go

an estimate of the depth to the shielded face

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

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

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

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

double t_radius::dr_max_last_iter

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

double t_radius::dr_min_last_iter

min and max dr found in previous iteration

Referenced by IterStart(), and ZoneStart().

double t_radius::drad_mid_zone

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

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

double t_radius::dRadSign

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

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

realnum t_radius::drChange

fractional change used in nextdr

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?

Referenced by radius_first(), and radius_next().

double t_radius::dRNeff

dRNeff is next dr effective radius

Referenced by zero(), and ZoneStart().

double t_radius::drNext

next dr, as set in nextdr

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

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

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

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

double t_radius::dVolReflec

Referenced by outline_base_bin(), and ZoneStart().

realnum t_radius::glbden

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

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

realnum t_radius::glbpow

the globule power

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

realnum t_radius::glbrad

the radius for the globule command

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

bool t_radius::lgCylnOn
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

Referenced by PrtComment(), and radius_first().

bool t_radius::lgdR2Small

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

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

bool t_radius::lgDrMinUsed

set true is calculations stops because zone thickness gets too small

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

bool t_radius::lgDrMnOn

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

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

double t_radius::lgFixed

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

bool t_radius::lgPredLumin

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

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

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

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

bool t_radius::lgSMinON

lgSMinON is flag saying that set drmin has been enteed

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

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

double t_radius::PI4_rinner_sq

the area of the inner radius in cm

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

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

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

double t_radius::Radius_mid_zone

the radius, to center of last or current zone

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

Referenced by ParseCommands(), and zero().

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

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

double t_radius::sdrmin_rel_depth

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

realnum t_radius::thickness_stromgren

the Stromgren thickness

Referenced by radius_first().


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