20#ifndef OPM_HYPRE_ERROR_HANDLING_HPP
21#define OPM_HYPRE_ERROR_HANDLING_HPP
24#include <HYPRE_parcsr_ls.h>
25#include <_hypre_utilities.h>
40 : std::runtime_error(
msg)
59 return fmt::format(
"Hypre error in expression: {}\nError code: {}\nLocation: {}:{} in function {}",
96#define OPM_HYPRE_SAFE_CALL(expr) ::Opm::gpuistl::hypreSafeCall((expr), #expr, __FILE__, __func__, __LINE__)
101#ifndef HYPRE_SAFE_CALL
102#define HYPRE_SAFE_CALL(expr) OPM_HYPRE_SAFE_CALL(expr)
Exception class for Hypre errors.
Definition HypreErrorHandling.hpp:37
constexpr auto getPropValue()
get the value data member of a property
Definition propertysystem.hh:240