#include "cddefines.h"
#include "physconst.h"
#include "trace.h"
#include "struc.h"
#include "rfield.h"
#include "mole.h"
#include "dense.h"
#include "stopcalc.h"
#include "heavy.h"
#include "wind.h"
#include "geometry.h"
#include "thermal.h"
#include "radius.h"
#include "phycon.h"
#include "pressure.h"
#include "conv.h"
Include dependency graph for conv_init_solution.cpp:
Go to the source code of this file.
Defines | |
#define | PCHNG 0.98 |
Functions | |
STATIC bool | lgCoolHeatCheckConverge (double *CoolNet) |
STATIC bool | lgCoolNetConverge (double *CoolNet, double *dCoolNetDT) |
STATIC void | ChemImportance (void) |
double | FindTempChangeFactor (void) |
int | ConvInitSolution (void) |
Variables | |
static double | dCoolNetDTOld = 0 |
static double | OxyInGrains |
static double | FracMoleMax |
#define PCHNG 0.98 |
STATIC void ChemImportance | ( | void | ) |
Definition at line 122 of file conv_init_solution.cpp.
References COmole, DEBUG_ENTRY, dense, FracMoleMax, t_dense::gas_phase, molecule::hevmol, t_dense::lgElmtOn, mole, molecule::n_nuclei, molecule::nElem, molecule::nelem_hevmol, t_mole::num_comole_calc, and SDIV().
Referenced by FindTempChangeFactor().
Here is the call graph for this function:
int ConvInitSolution | ( | void | ) |
ConvInitSolution drive search for initial solution at illuminated face, called by cloudy, returns 1 if outside conditions appropriate for cloudy
Definition at line 223 of file conv_init_solution.cpp.
References ASSERT, t_conv::AverEdenError, t_conv::AverHeatCoolError, t_conv::AverPressError, t_conv::BigEdenError, t_conv::BigHeatCoolError, t_conv::BigPressError, t_thermal::ConstTemp, conv, ConvPresTempEdenIoniz(), ConvTempEdenIoniz(), t_struc::coolstr, t_thermal::ctot, dCoolNetDTOld, DEBUG_ENTRY, t_struc::DenMass, t_struc::DenParticles, dense, t_struc::drad, t_radius::drad, t_struc::drad_x_fillfac, t_radius::drad_x_fillfac, t_radius::dVeff, t_dense::eden, t_struc::ednstr, EE, t_geometry::FillFac, FindTempChangeFactor(), fp_equal(), FracMoleMax, t_dense::gas_phase, geometry, t_struc::hden, t_conv::HeatCoolRelErrorAllowed, t_struc::heatstr, Heavy, t_struc::hiistr, t_struc::histr, t_thermal::htot, ioQQQ, t_Heavy::ipHeavy, ipHYDROGEN, ipOXYGEN, iteration, lgAbort, lgCoolNetConverge(), t_dense::lgDenseInitConstant, t_dense::lgEdenBad, t_conv::lgOscilOTS, t_pressure::lgPressureInitialSpecified, t_conv::lgSearch, t_thermal::lgTeHigh, t_trace::lgTrace, LIMELM, MAX2, MIN2, t_rfield::nflux, t_conv::nPres2Ioniz, t_conv::nTotalIoniz, t_conv::nTotalIoniz_start, t_trace::nTrConvg, t_dense::nzEdenBad, t_struc::o3str, OxyInGrains, t_dense::pden, phycon, pressure, t_pressure::PressureInitialSpecified, PresTotCurrent(), t_pressure::PresTotlCurr, t_pressure::PresTotlInit, radius, radius_first(), rfield, SDIV(), t_radius::sdrmax, t_radius::sdrmin, set_NaN(), ShowMe(), SMALLDOUBLE, SMALLFLOAT, StopCalc, struc, t_phycon::te, t_StopCalc::TeFloor, t_phycon::TEMP_LIMIT_HIGH, t_phycon::TEMP_LIMIT_LOW, TempChange(), t_struc::testr, thermal, TorF(), TotalInsanity(), trace, t_struc::volstr, t_dense::xIonDense, and t_dense::xMassDensity.
Referenced by cloudy().
Here is the call graph for this function:
double FindTempChangeFactor | ( | void | ) |
Definition at line 168 of file conv_init_solution.cpp.
References ChemImportance(), DEBUG_ENTRY, FracMoleMax, OxyInGrains, phycon, and t_phycon::te.
Referenced by ConvInitSolution().
Here is the call graph for this function:
STATIC bool lgCoolHeatCheckConverge | ( | double * | CoolNet | ) |
Definition at line 33 of file conv_init_solution.cpp.
References conv, t_thermal::ctot, DEBUG_ENTRY, t_conv::HeatCoolRelErrorAllowed, t_thermal::htot, MAX2, SDIV(), and thermal.
Referenced by lgCoolNetConverge().
Here is the call graph for this function:
STATIC bool lgCoolNetConverge | ( | double * | CoolNet, | |
double * | dCoolNetDT | |||
) |
Definition at line 61 of file conv_init_solution.cpp.
References t_thermal::ConstTemp, ConvEdenIoniz(), t_thermal::ctot, t_thermal::dCooldT, dCoolNetDTOld, DEBUG_ENTRY, t_thermal::dHeatdT, t_thermal::htot, ioQQQ, lgAbort, lgCoolHeatCheckConverge(), t_trace::lgTrace, LOOP_MAX, t_trace::nTrConvg, phycon, t_phycon::te, thermal, TorF(), and trace.
Referenced by ConvInitSolution().
Here is the call graph for this function:
double dCoolNetDTOld = 0 [static] |
Definition at line 24 of file conv_init_solution.cpp.
Referenced by ConvInitSolution(), and lgCoolNetConverge().
double FracMoleMax [static] |
Definition at line 26 of file conv_init_solution.cpp.
Referenced by ChemImportance(), ConvInitSolution(), and FindTempChangeFactor().
double OxyInGrains [static] |
Definition at line 26 of file conv_init_solution.cpp.
Referenced by ConvInitSolution(), and FindTempChangeFactor().