Epetra_ConfigDefs.h File Reference

#include <cstdlib>
#include <cstdio>
#include <cassert>
#include <iostream>
#include <cmath>
#include <string>

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 EPETRA_MAX(x, y)   (( (x) > (y) ) ? x : y)
#define EPETRA_MIN(x, y)   (( (x) < (y) ) ? x : y)
#define EPETRA_SGN(x)   (((x) < 0.0) ? -1.0 : 1.0)
#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 = true
const int DefaultTracebackMode = 1


Define Documentation

#define EPETRA_MAX x,
 )     (( (x) > (y) ) ? x : y)
 

Definition at line 39 of file Epetra_ConfigDefs.h.

#define EPETRA_MIN x,
 )     (( (x) < (y) ) ? x : y)
 

Definition at line 40 of file Epetra_ConfigDefs.h.

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

Definition at line 41 of file Epetra_ConfigDefs.h.

#define EPETRA_CHK_ERR  ) 
 

Value:

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

Definition at line 271 of file Epetra_ConfigDefs.h.

#define EPETRA_CHK_PTR  ) 
 

Value:

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

Definition at line 281 of file Epetra_ConfigDefs.h.

#define EPETRA_CHK_REF  ) 
 

Value:

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

Definition at line 288 of file Epetra_ConfigDefs.h.


Variable Documentation

const double Epetra_MinDouble = 1.0E-100
 

Definition at line 43 of file Epetra_ConfigDefs.h.

const double Epetra_MaxDouble = 1.0E+100
 

Definition at line 44 of file Epetra_ConfigDefs.h.

const double Epetra_Overflow = 1.79E308
 

Definition at line 45 of file Epetra_ConfigDefs.h.

const double Epetra_Underflow = 2.23E-308
 

Definition at line 46 of file Epetra_ConfigDefs.h.

const bool Epetra_FormatStdout = true
 

Definition at line 252 of file Epetra_ConfigDefs.h.

const int DefaultTracebackMode = 1
 

Definition at line 253 of file Epetra_ConfigDefs.h.


Generated on Thu Sep 18 12:38:00 2008 for Epetra Package Browser (Single Doxygen Collection) by doxygen 1.3.9.1