cloudy trunk
|
#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"
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 |
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().
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().
double FindTempChangeFactor | ( | void | ) |
Definition at line 187 of file conv_init_solution.cpp.
References ChemImportance(), DEBUG_ENTRY, FracMoleMax, OxyInGrains, and phycon.
Referenced by ConvInitSolution().
Definition at line 35 of file conv_init_solution.cpp.
References conv, DEBUG_ENTRY, MAX2, SDIV(), STATIC, and thermal.
Referenced by lgCoolNetConverge().
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().
|
static |
Definition at line 26 of file conv_init_solution.cpp.
Referenced by ConvInitSolution(), and lgCoolNetConverge().
|
static |
Definition at line 28 of file conv_init_solution.cpp.
Referenced by ChemImportance(), ConvInitSolution(), and FindTempChangeFactor().
|
static |
Definition at line 28 of file conv_init_solution.cpp.
Referenced by ChemImportance(), ConvInitSolution(), and FindTempChangeFactor().