Go to the documentation of this file. 18 #ifndef GEOSX_LINEARALGEBRA_SOLVERS_KRYLOVUTILS_HPP_ 19 #define GEOSX_LINEARALGEBRA_SOLVERS_KRYLOVUTILS_HPP_ 21 #include "codingUtilities/Utilities.hpp" 24 #define GEOSX_KRYLOV_MIN_DIV ::LvArray::NumericLimits< real64 >::epsilon 26 #ifndef GEOSX_KRYLOV_BREAKDOWN_IF_ZERO 31 #define GEOSX_KRYLOV_BREAKDOWN_IF_ZERO( VAR ) \ 33 if( isZero( VAR, GEOSX_KRYLOV_MIN_DIV ) ) \ 35 GEOSX_LOG_LEVEL_RANK_0( 1, "Breakdown in " << methodName() << ": " << #VAR << " = " << VAR ); \ 36 m_result.status = LinearSolverResult::Status::Breakdown; \ 42 #endif //GEOSX_LINEARALGEBRA_SOLVERS_KRYLOVUTILS_HPP_