cloudy trunk
Loading...
Searching...
No Matches
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 "hmi.h"
#include "dynamics.h"
Include dependency graph for conv_init_solution.cpp:

Go to the source code of this file.

Functions

STATIC bool lgCoolHeatCheckConverge (double *CoolNet, bool lgReset)
STATIC bool lgCoolNetConverge (double *CoolNet, double *dCoolNetDT, bool lgReset)
STATIC void ChemImportance (void)
double FindTempChangeFactor (void)
bool ConvInitSolution ()

Variables

static double dCoolNetDTOld = 0
static double OxyInGrains
static double FracMoleMax

Function Documentation

◆ ChemImportance()

STATIC void ChemImportance ( void )

Definition at line 135 of file conv_init_solution.cpp.

References DEBUG_ENTRY, dense, FracMoleMax, ioQQQ, ipOXYGEN, mole, mole_global, OxyInGrains, SDIV(), STATIC, and unresolved_atom_list.

Referenced by FindTempChangeFactor().

Here is the call graph for this function:

◆ ConvInitSolution()

bool ConvInitSolution ( )

ConvInitSolution drive search for initial solution at illuminated face, called by cloudy, returns 1 if outside conditions appropriate for cloudy

Definition at line 242 of file conv_init_solution.cpp.

References ASSERT, conv, ConvBase(), ConvPresTempEdenIoniz(), ConvTempEdenIoniz(), CoolSave(), dCoolNetDTOld, DEBUG_ENTRY, dense, dynamics, EE, FindTempChangeFactor(), fp_equal(), FracMoleMax, geometry, Heavy, ioQQQ, ipHYDROGEN, ipOXYGEN, iteration, lgAbort, lgCoolNetConverge(), LIMELM, max(), MAX2, MIN2, mole_global, OxyInGrains, phycon, pressure, PresTotCurrent(), radius, radius_first(), rfield, rfield_opac_zero(), SDIV(), set_NaN(), ShowMe(), SMALLDOUBLE, SMALLFLOAT, StopCalc, struc, TempChange(), thermal, TotalInsanity(), and trace.

Referenced by cloudy().

Here is the call graph for this function:

◆ FindTempChangeFactor()

double FindTempChangeFactor ( void )

Definition at line 187 of file conv_init_solution.cpp.

References ChemImportance(), DEBUG_ENTRY, FracMoleMax, OxyInGrains, and phycon.

Referenced by ConvInitSolution().

Here is the call graph for this function:

◆ lgCoolHeatCheckConverge()

STATIC bool lgCoolHeatCheckConverge ( double * CoolNet,
bool lgReset )

Definition at line 35 of file conv_init_solution.cpp.

References conv, DEBUG_ENTRY, MAX2, SDIV(), STATIC, and thermal.

Referenced by lgCoolNetConverge().

Here is the call graph for this function:

◆ lgCoolNetConverge()

STATIC bool lgCoolNetConverge ( double * CoolNet,
double * dCoolNetDT,
bool lgReset )

Definition at line 70 of file conv_init_solution.cpp.

References ConvEdenIoniz(), dCoolNetDTOld, DEBUG_ENTRY, ioQQQ, lgAbort, lgCoolHeatCheckConverge(), LOOP_MAX, phycon, STATIC, thermal, TorF(), and trace.

Referenced by ConvInitSolution().

Here is the call graph for this function:

Variable Documentation

◆ dCoolNetDTOld

double dCoolNetDTOld = 0
static

Definition at line 26 of file conv_init_solution.cpp.

Referenced by ConvInitSolution(), and lgCoolNetConverge().

◆ FracMoleMax

double FracMoleMax
static

Definition at line 28 of file conv_init_solution.cpp.

Referenced by ChemImportance(), ConvInitSolution(), and FindTempChangeFactor().

◆ OxyInGrains

double OxyInGrains
static

Definition at line 28 of file conv_init_solution.cpp.

Referenced by ChemImportance(), ConvInitSolution(), and FindTempChangeFactor().