#include "Amesos_config.h"
#include "Epetra_ConfigDefs.h"
#include <vector>
Go to the source code of this file.
#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.