t_dynamics Struct Reference

#include <dynamics.h>

Collaboration diagram for t_dynamics:

Collaboration graph
[legend]

Data Fields

bool lgAdvection
double Cool
double Heat
double dCooldT
double dHeatdT
double CoolMax
double HeatMax
double Rate
double ** Source
double * H2_molec
double * CO_molec
bool lgISO [NISO]
bool lgMETALS
bool lgCoolHeat
bool lg_coronal_time_init
bool lgStatic
double time_elapsed
bool lgRecom
bool lgStatic_completed
double AdvecLengthInit
double FluxCenter
char chPresMode [20]
double ShockDepth
double ShockMach
double FluxScale
bool lgFluxDScale
double FluxIndex
double dRad
double oldFullDepth
double convergence_error
double convergence_tolerance
double discretization_error
double error_scale1
double error_scale2
bool lgSetPresMode
float dDensityDT
long iteration_first_dynamics

Detailed Description

all of these are initialized in zero

Definition at line 54 of file dynamics.h.


Field Documentation

the initial value of the advection length, reset with set advection length

Definition at line 101 of file dynamics.h.

Referenced by DynaEndIter(), DynaZero(), and ParseSet().

flag set by the "set dynamics pressure mode" command

Definition at line 107 of file dynamics.h.

Referenced by DynaPresChngFactor(), and ParseSet().

Definition at line 73 of file dynamics.h.

Referenced by CO_solve(), DynaCreateArrays(), DynaIonize(), and hmole_step().

convergence_error and discretization_error give estimates of convergence: :: convergence_error -- change between the last iterations; :: discretization_error -- error in the upstream interpolation. When (and if) discretization_error >> convergence_error, the interpolation length should be decreased.

They should both be based on the same norm of the models, but what norm may be experimented with -- at present, it's H+/Htot just weighted by cell number, which makes the estimates sensitive to the structure of the primary ionization front.

Definition at line 141 of file dynamics.h.

Referenced by ConvIterCheck(), and DynaNewStep().

the allowed rel error, by default 0.1

Definition at line 144 of file dynamics.h.

Referenced by ConvIterCheck(), DynaNewStep(), and DynaZero().

advective cooling minus heating (erg cm^-3 s^-1)

Definition at line 60 of file dynamics.h.

Referenced by CoolEvaluate(), CoolPunch(), DynaEndIter(), DynaIonize(), DynaPrtZone(), DynaPunch(), DynaZero(), HeatPunch(), lines_general(), and PunchDo().

largest fraction of cooling and heating

Definition at line 63 of file dynamics.h.

Referenced by DynaZero(), IterStart(), lines_general(), and PrtComment().

Definition at line 60 of file dynamics.h.

Referenced by CoolEvaluate(), DynaIonize(), DynaPunch(), and DynaZero().

deriv of density needed for expansion cooling

Definition at line 157 of file dynamics.h.

Referenced by CoolEvaluate(), IterRestart(), IterStart(), lgConvPres(), and zero().

Definition at line 60 of file dynamics.h.

Referenced by CoolEvaluate(), DynaIonize(), and DynaZero().

the error to be expected based on the coarseness of current advection length

Definition at line 147 of file dynamics.h.

Referenced by ConvIterCheck(), DynaEndIter(), DynaNewStep(), DynaStartZone(), and DynaZero().

the proposed thickness for the next zone when advection is included

Definition at line 126 of file dynamics.h.

Referenced by DynaStartZone(), DynaZero(), and radius_next().

two ways of scaling the error estimate for convergence

Definition at line 150 of file dynamics.h.

Referenced by DynaNewStep().

Definition at line 150 of file dynamics.h.

Referenced by ConvIterCheck(), DynaEndIter(), DynaNewStep(), DynaStartZone(), and DynaZero().

the center of the particle flux law

Definition at line 104 of file dynamics.h.

Referenced by DynaFlux(), DynaZero(), and ParseDynaWind().

the power law index of the particle flux law

Definition at line 123 of file dynamics.h.

Referenced by DynaFlux(), DynaZero(), and ParseDynaWind().

the scale of the particle flux law

Definition at line 117 of file dynamics.h.

Referenced by DynaFlux(), DynaZero(), and ParseDynaWind().

save H2 and CO densities

Definition at line 72 of file dynamics.h.

Referenced by DynaCreateArrays(), DynaIonize(), and hmole_step().

Definition at line 63 of file dynamics.h.

Referenced by DynaZero(), IterStart(), lines_general(), and PrtComment().

first iteration where dynamics is included - default is 2 - the second true iteration, set with SET DYNAMICS FIRST command

Definition at line 160 of file dynamics.h.

Referenced by DynaZero(), and ParseSet().

var set with coronal time init - says to use constant temperature on first relax iterations then let temp run free

Definition at line 86 of file dynamics.h.

Referenced by DynaEndIter(), and ParseCoronal().

factor to turn off advective cooling

Definition at line 82 of file dynamics.h.

Referenced by DynaIonize(), DynaZero(), and ParseDont().

whether we also need to scale by the face density

Definition at line 120 of file dynamics.h.

Referenced by DynaFlux(), DynaZero(), and ParseDynaWind().

factor to turn off advection for H-like or He-like iso seq, no advection h-like, he-like

Definition at line 76 of file dynamics.h.

Referenced by DynaZero(), HeLikeLevel(), HydroLevelPop(), ParseDont(), and PresTotCurrent().

factor to turn off advection for rest of ions, "no advection metals"

Definition at line 79 of file dynamics.h.

Referenced by DynaZero(), ParseDont(), and PresTotCurrent().

true if recombination logic in place

Definition at line 95 of file dynamics.h.

Referenced by DynaEndIter(), DynaZero(), PrtComment(), radius_next(), and timestep_next().

flag set true if set dynamics flow type was set - this means to use the specified option, and not to derive one

Definition at line 154 of file dynamics.h.

Referenced by DynaPresChngFactor(), DynaZero(), and ParseSet().

true if model ends since time dependent model is finished

Definition at line 98 of file dynamics.h.

Referenced by cloudy(), DynaEndIter(), and DynaZero().

the depth of the last iteration

Definition at line 129 of file dynamics.h.

Referenced by DynaCreateArrays(), DynaIonize(), DynaSaveLast(), and ion_solver().

the shock depth in cm set with "set dynamics shock depth" command

Definition at line 110 of file dynamics.h.

Referenced by DynaPresChngFactor(), and ParseSet().

the isothermal Mach number at which to insert an antishock set with "set dynamics antishock mach" command

Definition at line 114 of file dynamics.h.

Referenced by DynaPresChngFactor(), and ParseSet().

the advective recombination rate (s^-1)

Definition at line 69 of file dynamics.h.

Referenced by DynaCreateArrays(), DynaIonize(), DynaPunch(), DynaStartZone(), HeLikeLevel(), HydroLevelPop(), ion_solver(), and PunchDo().

elapsed time in time dependent static model

Definition at line 92 of file dynamics.h.

Referenced by DynaEndIter(), DynaPunchTimeDep(), DynaZero(), and PunchDo().


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

Generated for cloudy by doxygen 1.5.9