Amesos Package Browser (Single Doxygen Collection)  Development
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros
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.

Macros

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

Macro Definition Documentation

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

Definition at line 74 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 84 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 95 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 103 of file Amesos_ConfigDefs.h.