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 ASSERT, cdEXIT, continuum, multi_arr< T, d, ALLOC, lgBC >::data(), DEBUG_ENTRY, dense, e1(), e2(), elementnames, EXIT_FAILURE, expn(), fp_equal(), fprintf(), getrf_wrapper(), getrs_wrapper(), H_Einstein_A(), H_photo_cs(), Heavy, ioQQQ, ipH1s, ipH2p, ipH_LIKE, ipHe1s1S, ipHE_LIKE, ipHELIUM, ipHYDROGEN, iso_ctrl, iso_recomb_check(), iso_sp, iso_state_lifetime(), L_, LIMELM, max(), MAX2, MIN2, N_, NISO, opac, OpacityAdd1Element(), OpacityZero(), phycon, qg32(), rfield, S, safe_div(), SanityCheckGaunt(), ShowMe(), spsort(), STATIC, Integrator< Integrand, Method >::sum(), and trace.
Referenced by SanityCheck().
STATIC void SanityCheckFinal | ( | ) |
References STATIC.
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, pow2, and STATIC.
Referenced by SanityCheckBegin().