#include <conv.h>
Definition at line 79 of file conv.h.
float t_conv::autocv |
a convergence criteria
Definition at line 218 of file conv.h.
Referenced by ConvIterCheck(), ParseCommands(), and zero().
float t_conv::AverEdenError |
remember the average electron density error
Definition at line 122 of file conv.h.
Referenced by ConvInitSolution(), PrtFinal(), radius_increment(), and zero().
Definition at line 126 of file conv.h.
Referenced by ConvInitSolution(), PrtFinal(), radius_increment(), and zero().
float t_conv::AverPressError |
Definition at line 130 of file conv.h.
Referenced by ConvInitSolution(), PrtFinal(), radius_increment(), and zero().
double t_conv::BadConvIoniz[2] |
when the lgConvIoniz flag is set false, the old and new numbers, the reason for the lack of convergence, should be set to following
Definition at line 100 of file conv.h.
Referenced by CO_drive(), CO_solve(), ConvBase(), ConvIoniz(), GrainChargeTemp(), and lgIonizConverg().
float t_conv::BigEdenError |
remember the biggest electron density error as test of convergence quality
Definition at line 179 of file conv.h.
Referenced by ConvInitSolution(), PrtFinal(), radius_increment(), and zero().
float t_conv::BigHeatCoolError |
remember the biggest and average heating-cooling error
Definition at line 125 of file conv.h.
Referenced by ConvInitSolution(), PrtFinal(), radius_increment(), and zero().
float t_conv::BigPressError |
remember the biggest and average pressure error
Definition at line 129 of file conv.h.
Referenced by ConvInitSolution(), PrtFinal(), radius_increment(), and zero().
char* t_conv::chConvEden |
this says why the electron density did not converge,
Definition at line 82 of file conv.h.
Referenced by ConvEdenIoniz().
char* t_conv::chConvIoniz |
this says why the ionization did not converge, reasons can be a large change in the level of ionization, or in the heating
Definition at line 86 of file conv.h.
Referenced by CO_drive(), CO_solve(), ConvBase(), ConvEdenIoniz(), ConvFail(), ConvInitSolution(), ConvIoniz(), GrainChargeTemp(), H2_LevelPops(), and ion_solver().
char* t_conv::chNotConverged |
this gives the reason the model was declared not converged when 'iter to convergence' command is given
Definition at line 90 of file conv.h.
Referenced by ConvEdenIoniz(), ConvIterCheck(), and PrtComment().
char t_conv::chSolverEden[20] |
which electron density solver to use? set with set eden solver command, simple and new
Definition at line 204 of file conv.h.
Referenced by ConvEdenIoniz(), ParseSet(), and zero().
char t_conv::chSolverTemp[20] |
which temperature density solver to use? set with set eden solver command, default and brent
Definition at line 208 of file conv.h.
Referenced by ConvTempEdenIoniz(), ParseSet(), and zero().
double t_conv::EdenErrorAllowed |
this is relative error in the electron density we want set in zero to 0.01 reset with set eden error command
Definition at line 223 of file conv.h.
Referenced by advection_set_detault(), ConvBase(), ConvEdenIoniz(), GrainDrive(), GrainsInit(), H2_LevelPops(), hmole(), Hydrogenic(), lgConvEden(), ParseSet(), radius_increment(), radius_next(), and zero().
float t_conv::failmx |
failmx is largest relative error in heating cooling match
Definition at line 170 of file conv.h.
Referenced by ConvFail(), and IterStart().
allowed error in heating - cooling balance, set with TOLERANCE command default set in zerologic
Definition at line 232 of file conv.h.
Referenced by advection_set_detault(), ConvBase(), ConvFail(), ConvTempEdenIoniz(), GrainsInit(), H2_LevelPops(), lgConvTemp(), ParseCommands(), ParseSet(), radius_next(), TeBrent(), and zero().
double * t_conv::hist_pres_correct |
double * t_conv::hist_pres_current |
double* t_conv::hist_pres_density |
these are used to retain the density pressure history in current zone, can be output with punch pressure history
Definition at line 236 of file conv.h.
Referenced by PressureChange(), and PunchDo().
long int t_conv::hist_pres_limit |
long int t_conv::hist_pres_npres |
long int t_conv::hist_pres_nzone |
double * t_conv::hist_temp_cool |
double * t_conv::hist_temp_heat |
long int t_conv::hist_temp_limit |
long int t_conv::hist_temp_ntemp |
long int t_conv::hist_temp_nzone |
double* t_conv::hist_temp_temp |
these are used to retain the temp/heat/cooling history in current zone, can be output with punch temperature history
Definition at line 241 of file conv.h.
Referenced by ConvEdenIoniz(), and PunchDo().
long int t_conv::ifailz[12] |
zones where converge problems occurred
Definition at line 200 of file conv.h.
Referenced by ConvFail().
bool t_conv::lgAutoIt |
says "interate to convergence" command given
Definition at line 215 of file conv.h.
Referenced by ConvIterCheck(), ParseCommands(), PrtComment(), and zero().
bool t_conv::lgBadStop |
flag saying that calculation stopped for bad reason mostly set in lgEndfun
Definition at line 212 of file conv.h.
Referenced by iter_end_check(), PrtComment(), and PrtFinal().
bool t_conv::lgCmHOsc |
this says whether cooling-heating deriv is changing sign
Definition at line 136 of file conv.h.
Referenced by ConvFail(), and ConvTempEdenIoniz().
bool t_conv::lgConvEden |
true when the electron density has converged
Definition at line 155 of file conv.h.
Referenced by ConvEdenIoniz(), ConvPresTempEdenIoniz(), ConvTempEdenIoniz(), CoolPunch(), HeatPunch(), lgConvEden(), and zero().
bool t_conv::lgConvIoniz |
this flag is used in ConvPresTempEdenIoniz to check that ionization has converged
Definition at line 93 of file conv.h.
Referenced by CO_drive(), CO_solve(), ConvBase(), ConvFail(), ConvInitSolution(), ConvIoniz(), ConvPresTempEdenIoniz(), ConvTempEdenIoniz(), CoolPunch(), GrainChargeTemp(), HeatPunch(), ion_solver(), and RT_OTS_PrtRate().
bool t_conv::lgConvPops |
this flag is used in ConvPresTempEdenIoniz to check that populations have converged
Definition at line 96 of file conv.h.
Referenced by CO_drive(), CO_solve(), ConvFail(), ConvPresTempEdenIoniz(), H2_LevelPops(), and hmole().
bool t_conv::lgConvPres |
true if pressure is converged, false if not
Definition at line 152 of file conv.h.
Referenced by ConvPresTempEdenIoniz(), CoolPunch(), HeatPunch(), lgConvPres(), PressureChange(), PunchDo(), radius_next(), and zero().
bool t_conv::lgConvTemp |
true if temperature is converged, false if not
Definition at line 149 of file conv.h.
Referenced by ConvFail(), ConvPresTempEdenIoniz(), ConvTempEdenIoniz(), CoolPunch(), HeatPunch(), lgConvTemp(), PunchDo(), radius_next(), and zero().
bool t_conv::lgEdenOscl |
this says whether electron density is changing sign
Definition at line 142 of file conv.h.
Referenced by ConvEdenIoniz(), and ConvFail().
flag set in ConvBase, saying whether ionization stage is trimmed down
Definition at line 133 of file conv.h.
Referenced by ConvBase(), CoolDima(), ion_trim(), and RT_line_all().
true if level 2 lines were contributors to the cooling, set in dimacool
Definition at line 161 of file conv.h.
Referenced by CoolDima(), and zero().
true if level 2 lines were contributors to the ots rates, set in dimacool
Definition at line 158 of file conv.h.
Referenced by CoolDima(), and zero().
bool t_conv::lgMap |
lgMap is option to map failures
Definition at line 197 of file conv.h.
Referenced by ConvFail(), ParseCommands(), and zero().
bool t_conv::lgOscilOTS |
this is true if ots rates are oscillating, and this is why ionization is not converged
Definition at line 146 of file conv.h.
Referenced by ConvBase(), ConvInitSolution(), ConvIoniz(), ConvTempEdenIoniz(), and RT_tau_init().
bool t_conv::lgSearch |
conv.lgSearch is true during initial temp-ion search phase, false after first zone established
Definition at line 119 of file conv.h.
Referenced by CO_drive(), CO_solve(), ConvBase(), ConvEdenIoniz(), ConvInitSolution(), ConvIoniz(), CoolDima(), CoolEvaluate(), eden_sum(), Fe2_cooling(), GrainCharge(), GrainChargeTemp(), GrainDrive(), H2_Cooling(), H2_LevelPops(), HeatSum(), HeLikeLevel(), hmole(), hmole_step(), HydroLevel(), HydroLevelPop(), ion_solver(), ion_trim(), iter_end_check(), map_do(), MyAssert(), OpacityAddTotal(), radius_increment(), RT_line_static(), and RT_OTS_Update().
bool t_conv::lgTOscl |
this says whether temp is changing sign
Definition at line 139 of file conv.h.
Referenced by ConvFail(), and ConvTempEdenIoniz().
long int t_conv::LimFail |
LimFail is limit to number of te failures, set with "failures" cmnd
Definition at line 194 of file conv.h.
Referenced by ConvFail(), grid_do(), ParseCommands(), and zero().
long int t_conv::limPres2Ioniz |
a limit to the above, in case where one zone takes forever to not converge, usually very large, set with SET PRESIONIZ command
Definition at line 106 of file conv.h.
Referenced by ConvBase(), ParseSet(), and zero().
long int t_conv::nConvIonizFails |
number of ConvIoniz ionization failures
Definition at line 188 of file conv.h.
Referenced by ConvEdenIoniz(), and ConvIoniz().
long int t_conv::nGrainFail |
number of grain ionization balance failures
Definition at line 191 of file conv.h.
Referenced by ConvFail(), and IterStart().
long int t_conv::nIonFail |
nIonFail is number of ionization failures
Definition at line 182 of file conv.h.
Referenced by cdNwcns(), ConvFail(), and IterStart().
long int t_conv::nNeFail |
nNeFail is number of electron density failures
Definition at line 176 of file conv.h.
Referenced by cdNwcns(), ConvFail(), and IterStart().
long int t_conv::nPopFail |
nIonFail is number of level population failures
Definition at line 185 of file conv.h.
Referenced by ConvFail(), and IterStart().
long int t_conv::nPreFail |
nPreFail is number of pressure failures
Definition at line 173 of file conv.h.
Referenced by cdNwcns(), ConvFail(), and IterStart().
long int t_conv::nPres2Ioniz |
this will count the number of ionizations in one call from ConPvPresTempIoniz
Definition at line 103 of file conv.h.
Referenced by ConvBase(), ConvEdenIoniz(), ConvInitSolution(), ConvIoniz(), ConvPresTempEdenIoniz(), CoolEvaluate(), hmole_reactions(), ion_photo(), ion_trim(), lgIonizConverg(), OpacityAddTotal(), PrtZone(), PunchDo(), RT_line_all(), RT_OTS_Update(), and zero().
long int t_conv::nTeFail |
nTeFail number of temperature failures
Definition at line 167 of file conv.h.
Referenced by cdNwcns(), ConvFail(), IterStart(), and ShowMe().
long int t_conv::nTotalFailures |
total number of all falures, used to trigger abort
Definition at line 164 of file conv.h.
Referenced by ConvFail(), and IterStart().
long int t_conv::nTotalIoniz |
this will count the number of ionizations in all calls after zero can be used to determine very first pass through initial creation
Definition at line 110 of file conv.h.
Referenced by ChargTranEval(), ConvBase(), ConvEdenIoniz(), ConvInitSolution(), hmole(), HydroCollid(), ion_solver(), IonNitro(), lgCheckAsserts(), map_do(), PressureChange(), PrtFinal(), RT_DestProb(), RT_line_one(), RT_OTS_Update(), vib_evap(), and zero().
long int t_conv::nTotalIoniz_start |
the same counter but set to zero after the initial solution is converged, so this is a measure of the number of calls within true zones
Definition at line 115 of file conv.h.
Referenced by ConvInitSolution(), lgCheckAsserts(), and PrtFinal().
this is relative error in the pressure, initialized to 0.02 in reset with set pressure error command
Definition at line 228 of file conv.h.
Referenced by advection_set_detault(), lgConvPres(), ParseSet(), and zero().