#include <algorithm>
#include <Epetra_config.h>
#include <cstdlib>
#include <cstdio>
#include <cassert>
#include <cstring>
#include <string>
#include <iostream>
#include <sstream>
#include <cmath>
#include <iomanip>
#include "Epetra_DLLExportMacro.h"
Go to the source code of this file.
#define EPETRA_MAX |
( |
|
x, |
|
|
|
y |
|
) |
| std::max(x,y) /* max function */ |
#define EPETRA_MIN |
( |
|
x, |
|
|
|
y |
|
) |
| std::min(x,y)/* min function */ |
#define EPETRA_SGN |
( |
|
x | ) |
(((x) < 0.0) ? -1.0 : 1.0) /* sign function */ |
#define EPETRA_CHK_ERR |
( |
|
a | ) |
|
Value:{ { int epetra_err = a; \
<< __FILE__ << ", line " << __LINE__ << std::endl; }\
if (epetra_err != 0) return(epetra_err); }\
}
static int GetTracebackMode()
Get the value of the Epetra_Object error report mode.
static std::ostream & GetTracebackStream()
Get the output stream for error reporting.
Definition at line 315 of file Epetra_ConfigDefs.h.
#define EPETRA_CHK_PTR |
( |
|
a | ) |
|
Value:
<< __FILE__ << ", line " << __LINE__ << std::endl; } \
return(a); \
}
static int GetTracebackMode()
Get the value of the Epetra_Object error report mode.
static std::ostream & GetTracebackStream()
Get the output stream for error reporting.
Definition at line 325 of file Epetra_ConfigDefs.h.
#define EPETRA_CHK_REF |
( |
|
a | ) |
|
Value:
<< __FILE__ << ", line " << __LINE__ << std::endl; } \
return(a); \
}
static int GetTracebackMode()
Get the value of the Epetra_Object error report mode.
static std::ostream & GetTracebackStream()
Get the output stream for error reporting.
Definition at line 332 of file Epetra_ConfigDefs.h.
const double Epetra_MinDouble = 1.0E-100 |
const double Epetra_MaxDouble = 1.0E+100 |
const double Epetra_Overflow = 1.79E308 |
const double Epetra_Underflow = 2.23E-308 |
const bool Epetra_FormatStdout = false |
const int DefaultTracebackMode = 0 |