26 #include "esysUtils/Esys_MPI.h" 27 #include "esysUtils/error.h" 34 #define FINLEY_UNKNOWN -1 35 #define FINLEY_DEGREES_OF_FREEDOM 1 36 #define FINLEY_NODES 3 37 #define FINLEY_ELEMENTS 4 38 #define FINLEY_FACE_ELEMENTS 5 39 #define FINLEY_POINTS 6 40 #define FINLEY_CONTACT_ELEMENTS_1 7 41 #define FINLEY_CONTACT_ELEMENTS_2 8 42 #define FINLEY_REDUCED_DEGREES_OF_FREEDOM 2 43 #define FINLEY_REDUCED_NODES 14 44 #define FINLEY_REDUCED_ELEMENTS 10 45 #define FINLEY_REDUCED_FACE_ELEMENTS 11 46 #define FINLEY_REDUCED_CONTACT_ELEMENTS_1 12 47 #define FINLEY_REDUCED_CONTACT_ELEMENTS_2 13 49 #define FINLEY_INITIAL_STATUS 0 55 void setError(ErrorCodeType err,
const char* msg);
64 #endif // __FINLEY_H__ void resetError()
resets the error to NO_ERROR
Definition: Finley.cpp:37
double timer()
returns a time mark
Definition: Finley.cpp:24
void setError(ErrorCodeType err, const char *msg)
sets an error
Definition: Finley.cpp:43
Definition: finley/src/Assemble.h:32
bool noError()
checks if there is no error
Definition: Finley.cpp:49
char * getErrorMessage(void)
returns the error message
Definition: Finley.cpp:61
Esys_ErrorCodeType ErrorCodeType
Definition: Finley.h:51
Esys_ErrorCodeType
Definition: error.h:41
bool MPI_noError(esysUtils::JMPI &mpi_info)
Definition: Finley.cpp:78
ErrorCodeType getErrorType()
returns the error code
Definition: Finley.cpp:55
boost::shared_ptr< JMPI_ > JMPI
Definition: Esys_MPI.h:79
void checkFinleyError()
Definition: Finley.cpp:66