#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, EXIT_FAILURE, 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, EmissionProxy::Aul(), t_iso_sp::BranchRatio, cdEXIT, t_elementnames::chElementSym, t_isoCTRL::chISO, cont_gaunt_calc(), continuum, DEBUG_ENTRY, dense, e2(), ee1(), elementnames, TransitionProxy::Emis(), EXIT_FAILURE, expn(), t_iso_sp::fb, 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, iso_ctrl, iso_recomb_check(), iso_sp, iso_state_lifetime(), t_continuum::KshellLimit, L_, t_opac::lgCaseB, t_dense::lgElmtOn, t_isoCTRL::lgNoRecombInterp, t_opac::lgRedoStatic, t_trace::lgTrace, LIMELM, MALLOC, MAX2, MIN2, N_, t_iso_sp::n_HighestResolved_max, t_iso_sp::nCollapsed_max, t_rfield::nflux, NISO, t_Heavy::nsShells, t_iso_sp::numLevels_max, t_rfield::nupper, opac, t_opac::opacity_abs, OpacityAdd1Element(), OpacityZero(), t_opac::OpacStack, t_opac::OpacStatic, phycon, PI, pow(), qg32(), t_iso_sp::QuantumNumbers2Index, rfield, S, ShowMe(), spsort(), t_phycon::sqrte, t_iso_sp::st, Integrator< Integrand, Method >::sum(), t_phycon::te, TE1RYD, trace, t_iso_sp::trans(), 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().
1.6.1