OpenMD
3.1
Molecular Dynamics in the Open
Loading...
Searching...
No Matches
simError.h
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
errorStruct
Definition
simError.h:10
utils
simError.h
Generated on Wed Jun 26 2024 13:56:41 for OpenMD by
1.11.0