GRINS-0.8.0
|
#include <testing_utils.h>
Static Public Member Functions | |
static libMesh::Real | abs_tol_from_rel_tol (libMesh::Real exact, libMesh::Real rel_tol) |
Get absolute tolerance from input relative tol. More... | |
static libMesh::Real | epsilon () |
Convenience function. More... | |
Definition at line 36 of file testing_utils.h.
|
inlinestatic |
Get absolute tolerance from input relative tol.
CppUnit uses absolute tolerance for double tests. This will let the user input a relative tolerance and an exact value to get back the corresponding absolute tolerance.
Definition at line 44 of file testing_utils.h.
Referenced by GRINSTesting::NASAThermoTestBase::test_cp_common(), GRINSTesting::NASAThermoTestBase::test_h_common(), and GRINSTesting::KineticsTestBase::test_omega_dot_common().
|
inlinestatic |
Convenience function.
Definition at line 50 of file testing_utils.h.
Referenced by GRINSTesting::AntiochAirNASA9ThermoTest::test_cp(), GRINSTesting::AntiochAirNASA9ThermoTest::test_hs(), and GRINSTesting::AntiochAirNASA9KineticsTest::test_omega_dot().