cloudy
trunk
|
#include <radius.h>
Data Fields | |
double | rinner |
double | Radius |
double | Radius_mid_zone |
double | drad |
double | depth |
double | depth_mid_zone |
double | Depth2Go |
double | r1r0sq |
double * | router |
double | drNext |
double | distance |
double | dRadSign |
double | drad_x_fillfac |
double | drad_x_fillfac_mean |
double | depth_x_fillfac |
double | dVeff |
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 |
bool | lgSMinON |
bool | lgDR2Big |
realnum | drMinimum |
double | dr_min_last_iter |
double | dr_max_last_iter |
bool | lgDrMinUsed |
bool | lgDrNeg |
realnum | drChange |
realnum | thickness_stromgren |
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 89 of file radius.h.
Referenced by outline(), RT_diffuse(), and ZoneStart().
double t_radius::BeamInOut |
BeamInOut outward part of inwardly directed beam, 0 if not sphere
Definition at line 92 of file radius.h.
Referenced by outline(), RT_diffuse(), and ZoneStart().
double t_radius::BeamOutOut |
BeamOutOut outward part of outwardly directed beam
Definition at line 95 of file radius.h.
Referenced by outline(), 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 134 of file radius.h.
Referenced by cdDLine(), cdH2_Line(), cdLine(), cdLine_ip(), conorm(), FeIIPunchLines(), H2_PunchDo(), lines_continuum(), optimize_func(), PrtFinal(), PrtLineSum(), and PunchDo().
double t_radius::CylindHigh |
lgCylnOn set true when cylinder command given cylind is half height in centimeters
Definition at line 107 of file radius.h.
Referenced by ParseCommands(), zero(), and ZoneStart().
double t_radius::depth |
the depth, the distance from the outer edge of current zone to the illuminated face
Definition at line 22 of file radius.h.
Referenced by AbundancesSet(), DynaEndIter(), DynaEndZone(), DynaIonize(), DynaPresChngFactor(), DynaStartZone(), highen(), ion_solver(), iter_end_check(), IterEnd(), lgCheckAsserts(), lgConvPres(), ParseCommands(), PressureChange(), PresTotCurrent(), PrtComment(), PunchDo(), PunchSpecial(), radius_first(), radius_increment(), radius_next(), RT_line_one_tauinc(), RT_line_static(), velset(), zero(), and ZoneStart().
double t_radius::Depth2Go |
an estimate of the depth to the shielded face
Definition at line 22 of file radius.h.
Referenced by radius_first(), radius_next(), RT_line_static(), and ZoneStart().
double t_radius::depth_mid_zone |
depth from illuminated face to center of last or current zone
Definition at line 22 of file radius.h.
Referenced by CoolPunch(), DynaPunch(), H2_PunchDo(), HeatPunch(), PrtZone(), punch_line(), Punch_Line_RT(), PunchDo(), zero(), and ZoneStart().
double t_radius::depth_x_fillfac |
integrated dReff, integral of depth times filling factor
Definition at line 71 of file radius.h.
Referenced by lgCheckAsserts(), PrtFinal(), RT_line_one(), zero(), and ZoneStart().
double t_radius::distance |
the distance to the object from Earth, set with the distance command
Definition at line 59 of file radius.h.
Referenced by conorm(), ParseCommands(), PrtFinal(), and zero().
double t_radius::dr_max_last_iter |
Definition at line 155 of file radius.h.
Referenced by DynaEndIter(), IterStart(), and ZoneStart().
double t_radius::dr_min_last_iter |
min and max dr found in previous iteration
Definition at line 155 of file radius.h.
Referenced by IterStart(), and ZoneStart().
double t_radius::drad |
the thickness of the current zone
Definition at line 22 of file radius.h.
Referenced by ConvInitSolution(), DynaEndZone(), IterRestart(), IterStart(), lgConvPres(), PresTotCurrent(), PrtZone(), PunchDo(), PunchSpecial(), radius_first(), radius_increment(), radius_next(), RT_diffuse(), zero(), and ZoneStart().
double t_radius::drad_x_fillfac |
drad_x_fillfac is drad * filling factor
Definition at line 65 of file radius.h.
Referenced by aver(), CO_Colden(), ConvInitSolution(), FeII_Colden(), H2_Colden(), iter_end_check(), IterEnd(), IterStart(), MeanInc(), molcol(), radius_first(), radius_increment(), RT_line_one_tauinc(), RT_tau_inc(), t_fe2ovr_la::tau_inc(), zero(), and ZoneStart().
mean of the above over past few zones
Definition at line 68 of file radius.h.
Referenced by RT_line_all(), RT_line_static(), zero(), and ZoneStart().
double t_radius::dRadSign |
sign of dr for going in or out, 1 (usually) or -1
Definition at line 62 of file radius.h.
Referenced by ParseCommands(), radius_increment(), zero(), and ZoneStart().
fractional change used in nextdr
Definition at line 165 of file radius.h.
Referenced by ParseSet(), radius_first(), radius_next(), and zero().
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 152 of file radius.h.
Referenced by radius_first(), and radius_next().
double t_radius::dRNeff |
dRNeff is next dr effective radius
Definition at line 77 of file radius.h.
Referenced by DrvContPump(), zero(), and ZoneStart().
double t_radius::drNext |
next dr, as set in nextdr
Definition at line 55 of file radius.h.
Referenced by iter_end_check(), IterRestart(), IterStart(), lgConvPres(), radius_increment(), radius_next(), zero(), and ZoneStart().
double t_radius::dVeff |
dVeff is effec vol relative to inner radius
Definition at line 74 of file radius.h.
Referenced by aver(), ConvInitSolution(), FeIIAddLines(), H2_LinesAdd(), linadd(), lindst(), lines(), lines_continuum(), lines_general(), lines_grains(), lines_hydro(), lines_lv1_k_zn(), lines_molecules(), 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 84 of file radius.h.
Referenced by lindst(), radius_increment(), RT_diffuse(), and ZoneStart().
double t_radius::dVolReflec |
Definition at line 85 of file radius.h.
Referenced by lindst(), and ZoneStart().
variables that deal with the globule command, glbden, the density
Definition at line 115 of file radius.h.
Referenced by lgConvPres(), ParseGlobule(), and radius_next().
Definition at line 115 of file radius.h.
Referenced by IterRestart(), lgConvPres(), ParseGlobule(), radius_next(), zero(), and ZoneStart().
the globule power
Definition at line 115 of file radius.h.
Referenced by lgConvPres(), ParseGlobule(), and radius_next().
the radius for the globule command
Definition at line 115 of file radius.h.
Referenced by lgConvPres(), ParseGlobule(), radius_next(), zero(), and ZoneStart().
bool t_radius::lgCylnOn |
Definition at line 108 of file radius.h.
Referenced by ParseCommands(), 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 147 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 99 of file radius.h.
Referenced by iter_end_check(), PrtComment(), zero(), and ZoneStart().
set true is calculations stops because zone thickness gets too small
Definition at line 159 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 123 of file radius.h.
Referenced by ParseGlobule(), radius_first(), and zero().
bool t_radius::lgDrNeg |
flag set in nextdr saying whether dr is negative
Definition at line 162 of file radius.h.
Referenced by iter_end_check(), radius_next(), and zero().
lgPredLumin flag set true if intensities entered into st
Definition at line 126 of file radius.h.
Referenced by conorm(), and PrtFinal().
this says whether radius has been set - if true then can do luminosities, if false then only intensities
Definition at line 103 of file radius.h.
Referenced by conorm(), ParseBackgrd(), ParseBlackbody(), ParseCMB(), ParseCommands(), ParseCoronal(), ParseIonPar(), ParseRadius(), ParseTable(), PrtFinal(), PrtHeader(), and zero().
bool t_radius::lgSMinON |
lgSMinON is flag saying that set drmin has been enteed
Definition at line 143 of file radius.h.
Referenced by ParseSet(), radius_first(), and zero().
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 130 of file radius.h.
Referenced by conorm(), 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 22 of file radius.h.
Referenced by cdSPEC(), cdSPEC2(), hmole_reactions(), hmole_step(), iter_end_check(), lgConvPres(), lines_continuum(), MeanInc(), pltcon(), PrtComment(), PrtContinuum(), PrtFinal(), PrtZone(), PunchDo(), radius_increment(), zero(), and ZoneStart().
double t_radius::Radius |
the outer radius of the current zone
Definition at line 22 of file radius.h.
Referenced by AbundancesSet(), conorm(), CoolEvaluate(), highen(), InitSimPostparse(), ion_trim(), lgCheckAsserts(), lgConvPres(), ParseBackgrd(), ParseBlackbody(), ParseCMB(), ParseCommands(), ParseCoronal(), ParseF_nu(), ParseIonPar(), ParseRadius(), ParseTable(), PressureChange(), PresTotCurrent(), PunchDo(), radius_first(), radius_increment(), radius_next(), RT_diffuse(), zero(), and ZoneStart().
double t_radius::Radius_mid_zone |
the radius, to center of last or current zone
Definition at line 22 of file radius.h.
Referenced by PrtZone(), Punch_Line_RT(), PunchDo(), zero(), and ZoneStart().
double t_radius::rdfalt |
default inner radius when none set, log r =25 in scalar
Definition at line 111 of file radius.h.
Referenced by ParseBackgrd(), ParseBlackbody(), ParseCMB(), ParseCommands(), ParseCoronal(), ParseF_nu(), ParseIonPar(), ParseTable(), and zero().
double t_radius::rinner |
the inner radius in cm
Definition at line 22 of file radius.h.
Referenced by highen(), iter_end_check(), IterEnd(), lgConvPres(), ParseCommands(), PrtComment(), PrtFinal(), radius_first(), radius_increment(), radius_next(), RT_diffuse(), zero(), and ZoneStart().
double * t_radius::router |
total physical thickness of modeled region, (not outer radius) this can set set as a stopping criteria, but if not set is 1e30 before first iteration. At end of each iteration, router is set to total depth from illuminated face to outer edge [ITR DIM]
Definition at line 22 of file radius.h.
Referenced by DynaEndIter(), iter_end_check(), IterEnd(), ParseCommands(), ParseRadius(), ParseStop(), radius_first(), radius_increment(), radius_next(), zero(), and ZoneStart().
double t_radius::sdrmax |
Definition at line 139 of file radius.h.
Referenced by ConvInitSolution(), DynaEndIter(), ParseGlobule(), ParseSet(), radius_first(), radius_next(), 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
Definition at line 139 of file radius.h.
Referenced by ConvInitSolution(), ParseSet(), radius_first(), radius_next(), and zero().