#include "cddefines.h"#include "hmi.h"#include "thermal.h"#include "iso.h"#include "hydrogenic.h"#include "colden.h"#include "h2.h"#include "pressure.h"#include "dense.h"#include "trace.h"#include "phycon.h"#include "conv.h"Include dependency graph for conv_temp_eden_ioniz.cpp:

Go to the source code of this file.
Defines | |
| #define | USENUMER false | 
| #define | ITERMAX 100 | 
Functions | |
| STATIC double | CoolHeatError (double temp) | 
| STATIC double | TeBrent (double x1, double x2) | 
| STATIC void | MakeDeriv (const char *job, double *DerivNumer) | 
| STATIC void | PutHetCol (double te, double htot, double ctot) | 
| int | ConvTempEdenIoniz (void) | 
| bool | lgConvTemp (void) | 
Variables | |
| static const int | LIMDEF = 60 | 
| #define ITERMAX 100 | 
| #define USENUMER false | 
Referenced by ConvTempEdenIoniz().
| int ConvTempEdenIoniz | ( | void | ) | 
ConvTempEdenIoniz determine temperature, called by ConPresTempEdenIoniz, calls ConvEdenIoniz to get electron density and ionization returns 0 if ok, 1 if disaster
Definition at line 52 of file conv_temp_eden_ioniz.cpp.
References cdEXIT, t_conv::chSolverTemp, t_colden::colden, colden, conv, ConvEdenIoniz(), CoolHeatError(), t_thermal::ctot, t_thermal::dCooldT, DEBUG_ENTRY, dense, t_thermal::dHeatdT, t_thermal::dTemper, t_dense::eden, t_dense::gas_phase, h2, t_hmi::H2_total, t_conv::HeatCoolRelErrorAllowed, t_hmi::HeatH2Dexc_BigH2, hmi, t_thermal::htot, hydro, ioQQQ, ipCOL_HTOT, ipH_LIKE, ipHYDROGEN, iso, lgAbort, t_conv::lgCmHOsc, t_conv::lgConvEden, t_conv::lgConvIoniz, t_conv::lgConvTemp, lgConvTemp(), t_h2::lgH2ON, t_hydro::lgHColionImp, t_conv::lgOscilOTS, t_thermal::lgTeBD96, t_thermal::lgTemperatureConstant, t_thermal::lgTeSN99, t_thermal::lgTLaw, t_conv::lgTOscl, t_trace::lgTrace, t_thermal::lgUnstable, LIMDEF, MakeDeriv(), MAX2, MIN2, t_trace::nTrConvg, nzone, phycon, PresTotCurrent(), PutHetCol(), t_iso::RecomCollisFrac, ShowMe(), t_thermal::SigmaBD96, sign(), t_thermal::T0BD96, t_thermal::T0SN99, t_phycon::te, TeBrent(), TempChange(), thermal, t_thermal::thist, t_thermal::tlowst, TotalInsanity(), trace, USENUMER, and t_dense::xIonDense.
Referenced by ConvInitSolution(), and ConvPresTempEdenIoniz().
Here is the call graph for this function:

| STATIC double CoolHeatError | ( | double | temp | ) | 
Definition at line 651 of file conv_temp_eden_ioniz.cpp.
References ConvEdenIoniz(), t_thermal::ctot, DEBUG_ENTRY, t_thermal::htot, lgAbort, phycon, PresTotCurrent(), PutHetCol(), t_phycon::te, TempChange(), and thermal.
Referenced by ConvTempEdenIoniz(), and TeBrent().
Here is the call graph for this function:

| bool lgConvTemp | ( | void | ) | 
returns true if heating-cooling is converged
Definition at line 809 of file conv_temp_eden_ioniz.cpp.
References conv, t_thermal::ctot, DEBUG_ENTRY, t_conv::HeatCoolRelErrorAllowed, t_thermal::htot, t_conv::lgConvTemp, t_thermal::lgTemperatureConstant, phycon, t_phycon::te, t_phycon::TEMP_LIMIT_LOW, and thermal.
Referenced by ConvPresTempEdenIoniz(), and ConvTempEdenIoniz().
| STATIC void MakeDeriv | ( | const char * | job, | |
| double * | DerivNumer | |||
| ) | 
Definition at line 563 of file conv_temp_eden_ioniz.cpp.
References cdEXIT, t_thermal::ctot, t_thermal::dCooldT, DEBUG_ENTRY, t_thermal::htot, ioQQQ, t_thermal::lgTemperatureConstant, nzone, phycon, SMALLFLOAT, t_phycon::te, and thermal.
Referenced by ConvTempEdenIoniz().
| STATIC void PutHetCol | ( | double | te, | |
| double | htot, | |||
| double | ctot | |||
| ) | 
Definition at line 619 of file conv_temp_eden_ioniz.cpp.
References ASSERT, t_thermal::ClGrid, DEBUG_ENTRY, t_thermal::HtGrid, t_thermal::ipGrid, NGRID, nzone, t_thermal::nZonGrid, t_thermal::TeGrid, and thermal.
Referenced by ConvTempEdenIoniz(), and CoolHeatError().
| STATIC double TeBrent | ( | double | x1, | |
| double | x2 | |||
| ) | 
Definition at line 676 of file conv_temp_eden_ioniz.cpp.
References cdEXIT, conv, CoolHeatError(), DEBUG_ENTRY, fp_equal(), t_conv::HeatCoolRelErrorAllowed, t_thermal::htot, ioQQQ, ITERMAX, MIN2, sign(), and thermal.
Referenced by ConvTempEdenIoniz().
Here is the call graph for this function:

const int LIMDEF = 60 [static]           | 
        
 1.4.7