Revision: | 1553 |
Committed: | Fri Apr 29 17:25:12 2011 UTC (14 years ago) by gezelter |
Content type: | text/plain |
File size: | 596 byte(s) |
Log Message: | More fortran removal, and trimming out unused code |
# | Content |
---|---|
1 | #ifndef UTILS_SIMERROR_H |
2 | #define UTILS_SIMERROR_H |
3 | |
4 | #define MAX_SIM_ERROR_MSG_LENGTH 2000 |
5 | |
6 | #define OPENMD_ERROR 1 |
7 | #define OPENMD_WARNING 2 |
8 | #define OPENMD_INFO 3 |
9 | |
10 | typedef struct{ |
11 | char errMsg[MAX_SIM_ERROR_MSG_LENGTH]; |
12 | int isFatal; |
13 | int severity; |
14 | int isEventLoop; |
15 | } errorStruct; |
16 | |
17 | extern errorStruct painCave; |
18 | |
19 | extern char checkPointMsg[MAX_SIM_ERROR_MSG_LENGTH]; |
20 | |
21 | extern int worldRank; |
22 | |
23 | #ifdef __cplusplus |
24 | extern "C" { |
25 | #endif |
26 | |
27 | int simError( void ); |
28 | |
29 | void initSimError( void ); |
30 | |
31 | void errorCheckPoint( void ); |
32 | |
33 | #ifdef __cplusplus |
34 | } |
35 | #endif |
36 | |
37 | #endif |
Name | Value |
---|---|
svn:keywords | Author Id Revision Date |