Epetra Package Browser (Single Doxygen Collection) Development
Defines | Variables
Epetra_ConfigDefs.h File Reference
#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"
Include dependency graph for Epetra_ConfigDefs.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define __cplusplus
#define EPETRA_MAX(x, y)   std::max(x,y)
#define EPETRA_MIN(x, y)   std::min(x,y)
#define EPETRA_SGN(x)   (((x) < 0.0) ? -1.0 : 1.0)
#define FORTRAN_DISABLED
#define EPETRA_CHK_ERR(a)
#define EPETRA_CHK_PTR(a)
#define EPETRA_CHK_REF(a)

Variables

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

Define Documentation

#define __cplusplus

Definition at line 48 of file Epetra_ConfigDefs.h.

#define EPETRA_MAX (   x,
 
)    std::max(x,y)

Definition at line 62 of file Epetra_ConfigDefs.h.

#define EPETRA_MIN (   x,
 
)    std::min(x,y)

Definition at line 63 of file Epetra_ConfigDefs.h.

#define EPETRA_SGN (   x)    (((x) < 0.0) ? -1.0 : 1.0)

Definition at line 66 of file Epetra_ConfigDefs.h.

Definition at line 213 of file Epetra_ConfigDefs.h.

#define EPETRA_CHK_ERR (   a)
Value:
{ { int epetra_err = a; \
                              if ((epetra_err < 0 && Epetra_Object::GetTracebackMode() > 0) || \
                                  (epetra_err > 0 && Epetra_Object::GetTracebackMode() > 1)) { \
                      Epetra_Object::GetTracebackStream() << "Epetra ERROR " << epetra_err << ", " \
                           << __FILE__ << ", line " << __LINE__ << endl; }\
                      if (epetra_err != 0) return(epetra_err);  }\
                   }

Definition at line 297 of file Epetra_ConfigDefs.h.

#define EPETRA_CHK_PTR (   a)
Value:
{ if (a == 0 && Epetra_Object::GetTracebackMode() > 0) { \
                      Epetra_Object::GetTracebackStream() << "Epetra returning zero pointer " << ", " \
                           << __FILE__ << ", line " << __LINE__ << endl; } \
                      return(a); \
                   }

Definition at line 307 of file Epetra_ConfigDefs.h.

#define EPETRA_CHK_REF (   a)
Value:
{ if (Epetra_Object::GetTracebackMode() > 0) {\
                      Epetra_Object::GetTracebackStream() << "Epetra returning default reference " << ", " \
                           << __FILE__ << ", line " << __LINE__ << endl; } \
                      return(a); \
                   }

Definition at line 314 of file Epetra_ConfigDefs.h.


Variable Documentation

const double Epetra_MinDouble = 1.0E-100

Definition at line 68 of file Epetra_ConfigDefs.h.

const double Epetra_MaxDouble = 1.0E+100

Definition at line 69 of file Epetra_ConfigDefs.h.

const double Epetra_Overflow = 1.79E308

Definition at line 70 of file Epetra_ConfigDefs.h.

const double Epetra_Underflow = 2.23E-308

Definition at line 71 of file Epetra_ConfigDefs.h.

const bool Epetra_FormatStdout = false

Definition at line 195 of file Epetra_ConfigDefs.h.

const int DefaultTracebackMode = 0

Definition at line 208 of file Epetra_ConfigDefs.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines