cloudy  trunk
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Macros | Functions | Variables
conv_init_solution.cpp File Reference
#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.

Macros

#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

Macro Definition Documentation

#define PCHNG   0.98

Referenced by ConvInitSolution().

Function Documentation

STATIC void ChemImportance ( void  )
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 t_rfield::anu, ASSERT, t_conv::AverEdenError, t_conv::AverHeatCoolError, t_conv::AverPressError, t_conv::BigEdenError, t_conv::BigHeatCoolError, t_conv::BigPressError, t_dense::chDenseLaw, t_thermal::ConstTemp, conv, ConvBase(), ConvPresTempEdenIoniz(), ConvTempEdenIoniz(), t_struc::coolstr, t_thermal::ctot, dCoolNetDTOld, DEBUG_ENTRY, t_struc::DenMass, t_struc::DenParticles, dense, t_radius::drad, t_struc::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, PCHNG, t_dense::pden, phycon, pressure, t_pressure::PressureInitialSpecified, PresTotCurrent(), t_pressure::PresTotlCurr, t_pressure::PresTotlInit, radius, radius_first(), rfield, rfield_opac_zero(), 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, wind, t_wind::windv, 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 
)

Variable Documentation

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 ChemImportance(), ConvInitSolution(), and FindTempChangeFactor().


Generated for cloudy by doxygen 1.8.1.2