libMesh
Namespaces | Functions
fuzzy_equals.h File Reference

Go to the source code of this file.

Namespaces

 libMesh
 The libMesh namespace provides an interface to certain functionality in the library.
 

Functions

template<typename T , typename std::enable_if< ScalarTraits< T >::value, int >::type = 0>
auto libMesh::l1_norm (const T &var)
 Computes the L1 norm. More...
 
template<typename T , typename T2 , typename std::enable_if< ScalarTraits< T >::value &&ScalarTraits< T2 >::value, int >::type = 0>
auto libMesh::l1_norm_diff (const T &var1, const T2 &var2)
 Computes the L1 norm of the diff between var1 and var2. More...
 
template<typename T , typename T2 >
bool libMesh::absolute_fuzzy_equals (const T &var1, const T2 &var2, const Real tol=TOLERANCE *TOLERANCE)
 Function to check whether two variables are equal within an absolute tolerance. More...
 
template<typename T , typename T2 >
bool libMesh::relative_fuzzy_equals (const T &var1, const T2 &var2, const Real tol=TOLERANCE *TOLERANCE)
 Function to check whether two variables are equal within a relative tolerance. More...