Cloudy
Spectral Synthesis Code for Astrophysics
|
#include "cddefines.h"
#include "dense.h"
#include "elementnames.h"
#include "continuum.h"
#include "rfield.h"
#include "iso.h"
#include "opacity.h"
#include "hydro_bauman.h"
#include "heavy.h"
#include "trace.h"
#include "freebound.h"
#include "integrate.h"
#include "atmdat_gaunt.h"
#include "cloudy.h"
#include "container_classes.h"
Functions | |
STATIC void | SanityCheckBegin () |
STATIC void | SanityCheckFinal () |
STATIC void | SanityCheckGaunt (long Z, double loggam2, double logu, double refval, double relerr) |
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 |
References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, fprintf(), ioQQQ, SanityCheckBegin(), and SanityCheckFinal().
Referenced by cloudy().
STATIC void SanityCheckBegin | ( | ) |
References t_mesh::anu(), ASSERT, EmissionProxy::Aul(), t_iso_sp::BranchRatio, cdEXIT, t_mesh::CheckMesh(), t_elementnames::chElementSym, t_isoCTRL::chISO, continuum, multi_arr< T, d, ALLOC, lgBC >::data(), DEBUG_ENTRY, dense, e1(), e2(), elementnames, TransitionProxy::Emis(), EXIT_FAILURE, expn(), t_iso_sp::fb, fp_equal(), fprintf(), 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, max(), 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, opac, t_opac::opacity_abs, OpacityAdd1Element(), OpacityZero(), t_opac::OpacStack, t_opac::OpacStatic, phycon, qg32(), t_iso_sp::QN2Index(), rfield, S, safe_div(), SanityCheckGaunt(), ShowMe(), spsort(), t_phycon::sqrte, t_iso_sp::st, Integrator< Integrand, Method >::sum(), t_phycon::te, trace, t_iso_sp::trans(), t_mesh::ValidateEdges(), and t_dense::xIonDense.
Referenced by SanityCheck().
STATIC void SanityCheckFinal | ( | ) |
Referenced by SanityCheck().
STATIC void SanityCheckGaunt | ( | long | Z, |
double | loggam2, | ||
double | logu, | ||
double | refval, | ||
double | relerr | ||
) |
References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, exp10(), fprintf(), t_gaunt::gauntff(), Singleton< t_gaunt >::Inst(), ioQQQ, and pow2().
Referenced by SanityCheckBegin().