#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 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.