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

#include <struc.h>

Collaboration diagram for t_struc:

Public Member Functions

 t_struc ()
 

Public Attributes

long int nzlim
 
long int nzonePreviousIteration
 
vector< realnumtestr
 
vector< realnumvolstr
 
vector< realnumdrad_x_fillfac
 
vector< realnumhistr
 
vector< realnumhiistr
 
vector< realnumednstr
 
vector< realnumo3str
 
vector< realnumpressure
 
vector< realnumwindv
 
vector< realnumAccelTotalOutward
 
vector< realnumAccelGravity
 
vector< realnumGasPressure
 
vector< realnumpres_radiation_lines_curr
 
vector< realnumhden
 
vector< realnumDenParticles
 
vector< realnumDenMass
 
vector< realnumdepth
 
vector< realnumdrad
 
vector< realnumxLyman_depth
 
vector< realnumdepth_last
 
vector< realnumdrad_last
 
realnum TempChangeMax
 
multi_arr< realnum, 3 > xIonDense
 
multi_arr< realnum, 4 > StatesElem
 
multi_arr< realnum, 2 > molecules
 
vector< realnumH2_abund
 
multi_arr< realnum, 2 > gas_phase
 
vector< double > coolstr
 
vector< double > heatstr
 
realnum dr_ionfrac_limit
 

Detailed Description

these save EXTERN structure variables, like te vs depth zeroed out in zero, incremented in RT_tau_inc

Constructor & Destructor Documentation

t_struc::t_struc ( )
inline

References dr_ionfrac_limit.

Member Data Documentation

vector<realnum> t_struc::AccelGravity

inward acceleration due to gravity, a positive number

Referenced by init_struc(), and radius_increment().

vector<realnum> t_struc::AccelTotalOutward

total outward acceleration cm s^-2

Referenced by init_struc(), and radius_increment().

vector<double> t_struc::coolstr

cooling and heating for each zone

Referenced by AgeCheck(), t_timesc::calc_therm_timesc(), ConvInitSolution(), init_struc(), and radius_increment().

vector<realnum> t_struc::DenMass

density, gm/cm3 total grams per unit vol

Referenced by ConserveEnergy(), ConvInitSolution(), DynaSaveLast(), init_struc(), radius_increment(), and scalingZoneDensity().

vector<realnum> t_struc::DenParticles

total particles per unit vol

Referenced by AgeCheck(), t_timesc::calc_therm_timesc(), ConvInitSolution(), init_struc(), and radius_increment().

vector<realnum> t_struc::depth

depth of this position

Referenced by cdDepth_depth(), DynaNewStep(), DynaSaveLast(), init_struc(), IterEnd(), and radius_increment().

vector<realnum> t_struc::depth_last

previous iteration's radius and dr scale

Referenced by init_struc(), IterEnd(), and radius_next().

realnum t_struc::dr_ionfrac_limit

this is the relative ionization that is the limit for choosing zones using it, and for detecting it in prt_comment, default is 1e-3

Referenced by prt_smooth_predictions(), radius_next(), and t_struc().

vector<realnum> t_struc::drad

the thickness of the current zone

Referenced by ConvInitSolution(), init_struc(), IterEnd(), and radius_increment().

vector<realnum> t_struc::drad_last

Referenced by init_struc(), IterEnd(), and radius_next().

vector<realnum> t_struc::drad_x_fillfac
multi_arr<realnum,2> t_struc::gas_phase

total gas phase abundances

Referenced by init_struc(), ion_trim(), prt_smooth_predictions(), radius_increment(), and radius_next().

vector<realnum> t_struc::GasPressure

just the gas pressure, nkT

Referenced by cdPressure_depth(), ConserveEnergy(), init_struc(), and radius_increment().

vector<realnum> t_struc::H2_abund
vector<realnum> t_struc::hden

>>chng 02 May 2001 rjrw: add hden for dilution

Referenced by ConvInitSolution(), init_struc(), radius_increment(), and scalingZoneDensity().

vector<double> t_struc::heatstr
vector<realnum> t_struc::hiistr
vector<realnum> t_struc::histr
multi_arr<realnum,2> t_struc::molecules
long int t_struc::nzlim

this is the new variable that replaces the old NZLIM, it gives the largest number of zones that will be needed in the current calculation, and is used to create space for the following variables, and also similar variables in dynamics.c

Referenced by AgeCheck(), atmdat_readin(), t_timesc::calc_therm_timesc(), DynaCreateArrays(), DynaIonize(), DynaNewStep(), DynaPrtZone(), DynaSaveLast(), gett2(), gett2o3(), init_struc(), PrtComment(), and radius_increment().

long int t_struc::nzonePreviousIteration

nzone from previous iteration, -1 on first iteration

Referenced by InitSimPostparse(), IterEnd(), radius_increment(), and radius_next().

vector<realnum> t_struc::o3str
vector<realnum> t_struc::pres_radiation_lines_curr

line radiation pressure

Referenced by cdPressure_depth(), init_struc(), prt_smooth_predictions(), and radius_increment().

vector<realnum> t_struc::pressure

the total pressure, including all terms (ram, radiation, integrated incident, gas)

Referenced by cdPressure_depth(), DynaSaveLast(), init_struc(), lgCheckMonitors(), and radius_increment().

multi_arr<realnum,4> t_struc::StatesElem

save iso level array across model

Referenced by DynaNewStep(), DynaSaveLast(), init_struc(), and radius_increment().

realnum t_struc::TempChangeMax

largest relative change in temperature in any zone between iterations

Referenced by radius_increment().

vector<realnum> t_struc::testr

these will all become vectors with length given by the limit to the number of zones

Referenced by AgeCheck(), t_timesc::calc_therm_timesc(), ConvInitSolution(), gett2(), gett2o3(), init_struc(), lgCheckMonitors(), prt_smooth_predictions(), PrtComment(), radius_increment(), radius_next(), SaveDo(), and ZoneStart().

vector<realnum> t_struc::volstr
vector<realnum> t_struc::windv

wind velocity, cm s-1

Referenced by init_struc(), radius_increment(), and zoneDensity().

multi_arr<realnum,3> t_struc::xIonDense

save ionization balance array across model

Referenced by DynaNewStep(), DynaSaveLast(), init_struc(), ion_trim(), prt_smooth_predictions(), radius_increment(), and radius_next().

vector<realnum> t_struc::xLyman_depth

Lyman continuum optical depth for current iteration

Referenced by DynaSaveLast(), init_struc(), and radius_increment().


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