Tempus  Version of the Day
Time Integration
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Functions
Tempus_NumericalUtils.hpp File Reference
#include "Teuchos_ScalarTraits.hpp"
#include "Tempus_config.hpp"

Go to the source code of this file.

Namespaces

 Tempus
 

Functions

template<typename Scalar >
const Scalar Tempus::numericalTol ()
 Numerical Tolerance (approx. max. significant digits minus two) More...
 
template<typename Scalar >
bool Tempus::approxZero (Scalar value, Scalar tol=Teuchos::ScalarTraits< Scalar >::sfmin())
 Test if value is approximately zero within tolerance. More...
 
template<typename Scalar >
bool Tempus::approxEqualAbsTol (Scalar a, Scalar b, Scalar absTol)
 Test if values are approximately equal within the absolute tolerance. More...
 
template<typename Scalar >
bool Tempus::approxEqual (Scalar a, Scalar b, Scalar relTol=numericalTol< Scalar >())
 Test if values are approximately equal within the relative tolerance. More...
 
template<typename Scalar >
bool Tempus::approxEqualScale (Scalar a, Scalar b, Scalar scale, Scalar relTol=numericalTol< Scalar >())