2 #include <UnitTest++.h>
11 double SanityCheckGaunt(
long Z,
double loggam2,
double logu,
double refval,
double relerr)
13 double gam2 =
exp10(loggam2);
14 double u =
exp10(logu);
15 double ZZ = double(Z);
16 double Te = TE1RYD*
pow2(ZZ)/gam2;
17 double anu =
pow2(ZZ)*u/gam2;
19 return fabs(val/refval-1.)/relerr;
23 TEST_FIXTURE(GauntFixture,TestGaunt)
double gauntff(long Z, double Te, double anu)
STATIC void SanityCheckGaunt(long Z, double loggam2, double logu, double refval, double relerr)