Ifpack Package Browser (Single Doxygen Collection)  Development
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros
Ifpack_ConfigDefs.h File Reference
#include <Ifpack_config.h>
#include <cstdio>
#include <string>
#include <iostream>
#include <algorithm>
#include <vector>
Include dependency graph for Ifpack_ConfigDefs.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define IFPACK_CHK_ERR(ifpack_err)
 
#define IFPACK_CHK_ERRV(ifpack_err)
 
#define IFPACK_CHK_ERRB(ifpack_err)
 
#define IFPACK_RETURN(ifpack_err)
 
#define IFPACK_CHK_GLOBAL_ERR(ifpack_err)
 
#define IFPACK_SGN(x)   (((x) < 0.0) ? -1.0 : 1.0) /* sign function */
 
#define IFPACK_ABS(x)   (((x) > 0.0) ? (x) : (-x)) /* abs function */
 

Macro Definition Documentation

#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); } }

Definition at line 131 of file Ifpack_ConfigDefs.h.

#define IFPACK_CHK_ERRV (   ifpack_err)
Value:
{ if (ifpack_err < 0) { \
std::cerr << "IFPACK ERROR " << ifpack_err << ", " \
<< __FILE__ << ", line " << __LINE__ << std::endl; \
return; } }

Definition at line 139 of file Ifpack_ConfigDefs.h.

#define IFPACK_CHK_ERRB (   ifpack_err)
Value:
{ if (ifpack_err < 0) { \
std::cerr << "IFPACK ERROR " << ifpack_err << ", " \
<< __FILE__ << ", line " << __LINE__ << std::endl; \
return false; } }

Definition at line 146 of file Ifpack_ConfigDefs.h.

#define IFPACK_RETURN (   ifpack_err)
Value:
{ if (ifpack_err < 0) { \
std::cerr << "IFPACK ERROR " << ifpack_err << ", " \
<< __FILE__ << ", line " << __LINE__ << std::endl; \
} return(ifpack_err); }

Definition at line 152 of file Ifpack_ConfigDefs.h.

#define IFPACK_CHK_GLOBAL_ERR (   ifpack_err)
Value:
{ int local_err = ifpack_err; \
int global_min_err = 0; \
Comm().MinAll(&local_err, &global_min_err, 1); \
if (global_min_err < 0) { \
return global_min_err; \
} }

Definition at line 159 of file Ifpack_ConfigDefs.h.

#define IFPACK_SGN (   x)    (((x) < 0.0) ? -1.0 : 1.0) /* sign function */

Definition at line 167 of file Ifpack_ConfigDefs.h.

#define IFPACK_ABS (   x)    (((x) > 0.0) ? (x) : (-x)) /* abs function */

Definition at line 168 of file Ifpack_ConfigDefs.h.