OpenImpala
Image-based parallel transport property solver
Loading...
Searching...
No Matches
HypreCheck.H
Go to the documentation of this file.
1
4
#ifndef OPENIMPALA_HYPRECHECK_H_
5
#define OPENIMPALA_HYPRECHECK_H_
6
7
#include <AMReX_BLassert.H>
8
#include <HYPRE_utilities.h>
9
#include <string>
10
11
#define HYPRE_CHECK(ierr) \
12
do { \
13
if ((ierr) != 0) { \
14
char hypre_error_msg[256]; \
15
HYPRE_DescribeError(ierr, hypre_error_msg); \
16
amrex::Abort("HYPRE Error: " + std::string(hypre_error_msg) + \
17
" - Error Code: " + std::to_string(ierr) + " File: " + __FILE__ + \
18
" Line: " + std::to_string(__LINE__)); \
19
} \
20
} while (0)
21
22
#endif
// OPENIMPALA_HYPRECHECK_H_
src
props
HypreCheck.H
Generated by
1.15.0