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_RETURN(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 125 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 133 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 139 of file Ifpack_ConfigDefs.h.

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

Definition at line 145 of file Ifpack_ConfigDefs.h.

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

Definition at line 146 of file Ifpack_ConfigDefs.h.