Cloudy
Spectral Synthesis Code for Astrophysics
|
#include "cddefines.h"
#include "prt.h"
#include "phycon.h"
#include "hextra.h"
#include "pressure.h"
#include "dense.h"
#include "thermal.h"
#include "called.h"
#include "hcmap.h"
#include "conv.h"
Functions | |
void | ConvFail (const char chMode[], const char chDetail[]) |
void ConvFail | ( | const char | chMode[], |
const char | chDetail[] | ||
) |
ConvFail handle convergence failure
chMode[] | chMode is one of "pres", "eden", "ioni", "pops", "grai", "temp" |
chDetail | string giving details about the convergence failure |
References ASSERT, BIGFLOAT, called, cdEXIT, t_conv::chConvIoniz(), t_dense::chDenseLaw, conv, t_conv::convIonizNewVal(), t_conv::convIonizOldVal(), t_hextra::cryden, t_thermal::ctot, DEBUG_ENTRY, dense, t_dense::eden, t_dense::EdenTrue, EXIT_FAILURE, t_conv::failmx, fnzone, fprintf(), t_dense::gas_phase, hcmap, t_conv::HeatCoolRelErrorAllowed, hextra, t_thermal::htot, t_conv::ifailz, ioQQQ, ipHYDROGEN, iteration, t_conv::lgConvIoniz(), t_conv::lgConvPops, t_conv::lgConvTemp, t_conv::lgMap, t_hcmap::lgMapBeingDone, t_pressure::lgSonicPoint, t_called::lgTalk, t_conv::LimFail, map_do(), MAX2, MIN2, t_conv::nGrainFail, t_conv::nIonFail, t_conv::nNeFail, t_conv::nPopFail, t_conv::nPreFail, t_conv::nTeFail, t_conv::nTotalFailures, nzone, t_pressure::pbeta, phycon, t_pressure::PresGasCurr, t_pressure::PresRamCurr, pressure, t_pressure::PresTotlCurr, t_pressure::PresTotlError, PrtZone(), t_hcmap::RangeMap, safe_div(), ShowMe(), t_phycon::te, and thermal.
Referenced by ConvPresTempEdenIoniz(), and GrainChargeTemp().