#include "cddefines.h"
#include "physconst.h"
#include "thirdparty.h"
#include "dense.h"
#include "elementnames.h"
#include "continuum.h"
#include "helike_recom.h"
#include "rfield.h"
#include "taulines.h"
#include "hypho.h"
#include "iso.h"
#include "opacity.h"
#include "hydro_bauman.h"
#include "hydrogenic.h"
#include "heavy.h"
#include "trace.h"
#include "cloudy.h"
Go to the source code of this file.
Functions | |
STATIC void | SanityCheckBegin (void) |
STATIC void | SanityCheckFinal (void) |
void | SanityCheck (const char *chJob) |
void SanityCheck | ( | const char * | chJob | ) |
SanityCheck confirm that various parts of the code still work
*chJob | is either "begin" or "final" begin is before code starts up final is after model is complete |
Definition at line 51 of file sanity_check.cpp.
References cdEXIT, DEBUG_ENTRY, ioQQQ, SanityCheckBegin(), and SanityCheckFinal().
Referenced by cloudy().
STATIC void SanityCheckBegin | ( | void | ) |
Definition at line 75 of file sanity_check.cpp.
References t_rfield::anu, ASSERT, t_iso::BranchRatio, cdEXIT, t_elementnames::chElementSym, t_iso::chISO, cont_gaunt_calc(), continuum, DEBUG_ENTRY, dense, t_iso::DepartCoef, e2(), ee1(), elementnames, expn(), fp_equal(), getrf_wrapper(), getrs_wrapper(), H_Einstein_A(), H_photo_cs(), Heavy, ioQQQ, t_opac::ipElement, ipH1s, ipH2p, ipH_LIKE, ipHe1s1S, ipHE_LIKE, t_Heavy::ipHeavy, ipHELIUM, ipHYDROGEN, ipiv, t_iso::ipOpac, iso, iso_recomb_check(), iso_state_lifetime(), t_continuum::KshellLimit, L_, t_opac::lgCaseB, t_dense::lgElmtOn, t_iso::lgNoRecombInterp, t_opac::lgRedoStatic, t_trace::lgTrace, LIMELM, MALLOC, MAX2, MIN2, N_, t_iso::n_HighestResolved_max, t_iso::nCollapsed_max, t_rfield::nflux, NISO, t_Heavy::nsShells, t_iso::numLevels_max, t_rfield::nupper, opac, t_opac::opacity_abs, OpacityAdd1Element(), OpacityZero(), t_opac::OpacStack, t_opac::OpacStatic, phycon, PI, pow(), qg32(), t_iso::QuantumNumbers2Index, rfield, S, ShowMe(), spsort(), t_phycon::sqrte, StatesElemNEW, Integrator< Integrand, Method >::sum(), t_phycon::te, TE1RYD, trace, Transitions, t_rfield::widflx, t_dense::xIonDense, xMatrix, and yVector.
Referenced by SanityCheck().
STATIC void SanityCheckFinal | ( | void | ) |
Definition at line 70 of file sanity_check.cpp.
Referenced by SanityCheck().