Cloudy
Spectral Synthesis Code for Astrophysics
|
#include "cddefines.h"
#include "hmi.h"
#include "thermal.h"
#include "colden.h"
#include "pressure.h"
#include "dense.h"
#include "trace.h"
#include "phycon.h"
#include "conv.h"
#include "physconst.h"
#include "iter_track.h"
#include "radius.h"
Functions | |
STATIC bool | lgConvTemp (const iter_track &TeTrack) |
STATIC double | CoolHeatError (double temp) |
STATIC void | DumpCoolStack (double thres) |
STATIC void | DumpHeatStack (double thres) |
void | ConvTempEdenIoniz () |
void ConvTempEdenIoniz | ( | ) |
ConvTempEdenIoniz determine temperature, called by ConPresTempEdenIoniz, calls ConvEdenIoniz to get electron density and ionization
References iter_track::add(), iter_track::bracket_width(), iter_track::clear(), colden, conv, ConvEdenIoniz(), CoolHeatError(), DEBUG_ENTRY, dense, fp_equal(), fprintf(), hmi, iter_track::init_bracket(), ioQQQ, ipCOL_HTOT, ipHYDROGEN, lgConvTemp(), max(), min(), iter_track::next_val(), phycon, POW4, PresTotCurrent(), iter_track::print_history(), radius, safe_div(), iter_track::set_tol(), ShowMe(), sign(), TempChange(), thermal, TorF(), TotalInsanity(), and trace.
Referenced by ConvInitSolution(), ConvPresTempEdenIoniz(), and PressureChange().
STATIC double CoolHeatError | ( | double | temp | ) |
References conv, ConvEdenIoniz(), molezone::dbase, DEBUG_ENTRY, DumpCoolStack(), DumpHeatStack(), findspecies(), fprintf(), ioQQQ, molecule::local(), species::numLevels_local, nzone, phycon, PresTotCurrent(), STATIC, TempChange(), thermal, and trace.
Referenced by ConvTempEdenIoniz().
STATIC void DumpCoolStack | ( | double | thres | ) |
References dprintf(), ioQQQ, STATIC, and thermal.
Referenced by CoolHeatError().
STATIC void DumpHeatStack | ( | double | thres | ) |
STATIC bool lgConvTemp | ( | const iter_track & | TeTrack | ) |
References iter_track::bracket_width(), conv, DEBUG_ENTRY, iter_track::deriv(), fprintf(), ioQQQ, phycon, STATIC, thermal, TorF(), and trace.
Referenced by ConvTempEdenIoniz().