Ifpack Package Browser (Single Doxygen Collection) Development
Defines
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:

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 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 120 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 128 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 134 of file Ifpack_ConfigDefs.h.

#define IFPACK_SGN (   x)    (((x) < 0.0) ? -1.0 : 1.0)

Definition at line 140 of file Ifpack_ConfigDefs.h.

#define IFPACK_ABS (   x)    (((x) > 0.0) ? (x) : (-x))

Definition at line 141 of file Ifpack_ConfigDefs.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines