#include <Ifpack_config.h>
Go to the source code of this file.
Defines | |
#define | IFPACK_CHK_ERR(ifpack_err) |
#define | IFPACK_CHK_ERRV(ifpack_err) |
#define | IFPACK_RETURN(ifpack_err) |
#define | IFPACK_SGN(x) (((x) < 0.0) ? -1.0 : 1.0) |
#define | IFPACK_ABS(x) (((x) > 0.0) ? (x) : (-x)) |
#define IFPACK_ABS | ( | x | ) | (((x) > 0.0) ? (x) : (-x)) |
#define IFPACK_CHK_ERR | ( | ifpack_err | ) |
Value:
{ if (ifpack_err < 0) { \ std::cerr << "IFPACK ERROR " << ifpack_err << ", " \ << __FILE__ << ", line " << __LINE__ << std::endl; \ return(ifpack_err); } }
#define IFPACK_CHK_ERRV | ( | ifpack_err | ) |
Value:
{ if (ifpack_err < 0) { \ std::cerr << "IFPACK ERROR " << ifpack_err << ", " \ << __FILE__ << ", line " << __LINE__ << std::endl; \ return; } }
#define IFPACK_RETURN | ( | ifpack_err | ) |
Value:
{ if (ifpack_err < 0) { \ std::cerr << "IFPACK ERROR " << ifpack_err << ", " \ << __FILE__ << ", line " << __LINE__ << std::endl; \ } return(ifpack_err); }
#define IFPACK_SGN | ( | x | ) | (((x) < 0.0) ? -1.0 : 1.0) |