Tempus Version of the Day
Time Integration
Loading...
Searching...
No Matches
Tempus_UnitTest_NumericalUtils.cpp File Reference

Go to the source code of this file.

Namespaces

namespace  Tempus_Unit_Test

Functions

 Tempus_Unit_Test::TEUCHOS_UNIT_TEST (NumericalUtils, approxEqual)
 Tempus_Unit_Test::TEUCHOS_UNIT_TEST (NumericalUtils, approxEqualAbsTol)
 Tempus_Unit_Test::TEUCHOS_UNIT_TEST (NumericalUtils, approxEqualScale)
template<typename Scalar>
bool Tempus_Unit_Test::approxEqual (Scalar a, Scalar b, Scalar relTol=numericalTol< Scalar >())
 Test if values are approximately equal within the relative tolerance.
template<typename Scalar>
bool Tempus_Unit_Test::approxEqualAbsTol (Scalar a, Scalar b, Scalar absTol)
 Test if values are approximately equal within the absolute tolerance.
template<typename Scalar>
bool Tempus_Unit_Test::approxEqualScale (Scalar a, Scalar b, Scalar scale, Scalar relTol=numericalTol< Scalar >())
 Test if values are approximately equal within the relative tolerance given a scale.

Variables

static double Tempus_Unit_Test::PI = M_PI
static double Tempus_Unit_Test::eps = 1.0e-14