Claps  Development
 All Classes Namespaces Files Functions Variables Macros
Namespaces | Macros | Functions | Variables
Claps_ConfigDefs.hpp File Reference
#include <Epetra_config.h>
#include <cstdlib>
#include <cstdio>
#include <cassert>
#include <string>
#include <iostream>
#include <cmath>
Include dependency graph for Claps_ConfigDefs.hpp:
This graph shows which files directly or indirectly include this file:

Namespaces

 Claps
 

Macros

#define __cplusplus
 
#define EPETRA_MAX(x, y)   (( (x) > (y) ) ? x : y) /* max function */
 
#define EPETRA_MIN(x, y)   (( (x) < (y) ) ? x : y) /* min function */
 
#define EPETRA_SGN(x)   (((x) < 0.0) ? -1.0 : 1.0) /* sign function */
 
#define EPETRA_CHK_ERR(a)
 
#define EPETRA_CHK_PTR(a)
 
#define EPETRA_CHK_REF(a)
 

Functions

string Claps::Claps_Version ()
 

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
 

Macro Definition Documentation

#define __cplusplus
#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)) { \
cerr << "Epetra ERROR " << epetra_err << ", " \
<< __FILE__ << ", line " << __LINE__ << endl; }\
if (epetra_err != 0) return(epetra_err); }\
}
#define EPETRA_CHK_PTR (   a)
Value:
{ if (a == 0 && Epetra_Object::GetTracebackMode() > 0) { \
cerr << "Epetra returning zero pointer " << ", " \
<< __FILE__ << ", line " << __LINE__ << endl; } \
return(a); \
}
#define EPETRA_CHK_REF (   a)
Value:
{ if (Epetra_Object::GetTracebackMode() > 0) {\
cerr << "Epetra returning default reference " << ", " \
<< __FILE__ << ", line " << __LINE__ << endl; } \
return(a); \
}
#define EPETRA_MAX (   x,
 
)    (( (x) > (y) ) ? x : y) /* max function */
#define EPETRA_MIN (   x,
 
)    (( (x) < (y) ) ? x : y) /* min function */
#define EPETRA_SGN (   x)    (((x) < 0.0) ? -1.0 : 1.0) /* sign function */

Variable Documentation

const int DefaultTracebackMode = 0
const bool Epetra_FormatStdout = false
const double Epetra_MaxDouble = 1.0E+100
const double Epetra_MinDouble = 1.0E-100
const double Epetra_Overflow = 1.79E308
const double Epetra_Underflow = 2.23E-308