25 #ifndef GRINS_TESTING_UTILS_H
26 #define GRINS_TESTING_UTILS_H
32 #include "libmesh/libmesh_common.h"
46 return std::abs(exact)*rel_tol;
52 return std::numeric_limits<libMesh::Real>::epsilon();
57 #endif // GRINS_TESTING_UTILS_H
static libMesh::Real epsilon()
Convenience function.
static libMesh::Real abs_tol_from_rel_tol(libMesh::Real exact, libMesh::Real rel_tol)
Get absolute tolerance from input relative tol.