44#ifndef EPETRA_CONFIGDEFS_H
45#define EPETRA_CONFIGDEFS_H
62#define EPETRA_MAX(x,y) std::max(x,y)
63#define EPETRA_MIN(x,y) std::min(x,y)
66#define EPETRA_SGN(x) (((x) < 0.0) ? -1.0 : 1.0)
73#ifndef TRILINOS_NO_CONFIG_H
88#ifdef PACKAGE_BUGREPORT
89#undef PACKAGE_BUGREPORT
100#ifdef PACKAGE_VERSION
101#undef PACKAGE_VERSION
108#include <Epetra_config.h>
166#if !defined __IBMCPP__ || ( __IBMCPP__ != 1210 )
187#ifdef EPETRA_SIMULATE_BOOL
204#ifndef HAVE_FORMAT_IO
213#ifdef HAVE_WARNING_MESSAGES
215#elif defined HAVE_FATAL_MESSAGES
221#ifndef HAVE_FORTRAN_SUPPORT
222#ifndef FORTRAN_DISABLED
223#define FORTRAN_DISABLED
233#if defined(SGI) || defined(SGI64) || defined(SGI32) || defined(CPLANT)
271#ifdef EPETRA_SIMULATE_BOOL
307#define EPETRA_CHK_ERR(a) { { int epetra_err = a; \
308 if ((epetra_err < 0 && Epetra_Object::GetTracebackMode() > 0) || \
309 (epetra_err > 0 && Epetra_Object::GetTracebackMode() > 1)) { \
310 Epetra_Object::GetTracebackStream() << "Epetra ERROR " << epetra_err << ", " \
311 << __FILE__ << ", line " << __LINE__ << std::endl; }\
312 if (epetra_err != 0) return(epetra_err); }\
317#define EPETRA_CHK_PTR(a) { if (a == 0 && Epetra_Object::GetTracebackMode() > 0) { \
318 Epetra_Object::GetTracebackStream() << "Epetra returning zero pointer " << ", " \
319 << __FILE__ << ", line " << __LINE__ << std::endl; } \
324#define EPETRA_CHK_REF(a) { if (Epetra_Object::GetTracebackMode() > 0) {\
325 Epetra_Object::GetTracebackStream() << "Epetra returning default reference " << ", " \
326 << __FILE__ << ", line " << __LINE__ << std::endl; } \
330#include "Epetra_DLLExportMacro.h"
const double Epetra_Overflow
const int DefaultTracebackMode
const bool Epetra_FormatStdout
const double Epetra_MinDouble
const double Epetra_MaxDouble
const double Epetra_Underflow