Amesos Package Browser (Single Doxygen Collection) Development
Defines
Amesos_ConfigDefs.h File Reference
#include "Amesos_config.h"
#include "Epetra_ConfigDefs.h"
#include <vector>
Include dependency graph for Amesos_ConfigDefs.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define AMESOS_PRINT(variable)
#define AMESOS_CHK_ERR(a)
#define AMESOS_CHK_ERRV(amesos_err)
#define AMESOS_RETURN(amesos_err)

Define Documentation

#define AMESOS_PRINT (   variable)
Value:
{ { \
                      if ( debug_ != 0) { std::cerr << "AMESOS_PRINT " << # variable << "= " << variable << ", " \
                           << __FILE__ << ", line " << __LINE__ << std::endl; }  }\
                   }

Definition at line 68 of file Amesos_ConfigDefs.h.

#define AMESOS_CHK_ERR (   a)
Value:
{ { int amesos_err = a; \
                              if ((amesos_err < 0 && Epetra_Object::GetTracebackMode() > 0) || \
                                  (amesos_err > 0 && Epetra_Object::GetTracebackMode() > 1)) { \
                      std::cerr << "AMESOS ERROR " << amesos_err << ", " \
                           << __FILE__ << ", line " << __LINE__ << std::endl; }\
                      if (amesos_err != 0) return(amesos_err);  }\
                   }

Definition at line 78 of file Amesos_ConfigDefs.h.

#define AMESOS_CHK_ERRV (   amesos_err)
Value:
{ if (amesos_err != 0) { \
  std::cerr << "AMESOS ERROR " << amesos_err << ", " \
    << __FILE__ << ", line " << __LINE__ << std::endl; \
    return;  } }

Definition at line 89 of file Amesos_ConfigDefs.h.

#define AMESOS_RETURN (   amesos_err)
Value:
{ \
  if (amesos_err != 0) \
    std::cerr << "AMESOS ERROR " << amesos_err << ", " \
      << __FILE__ << ", line " << __LINE__ << std::endl; \
  return(amesos_err);  }

Definition at line 97 of file Amesos_ConfigDefs.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines