su2hmc
Loading...
Searching...
No Matches
errorcodes.h
Go to the documentation of this file.
1
23#ifndef ERRORCODES
24#define ERRORCODES
25
28//======================================
29//Errors:
30//-------
32#define OPENERROR 10001
34#define READERROR 10002
36#define WRITERROR 10003
38#define ARGERROR 10004
39
40//Warnings:
41//---------
43#define OPENWARN 10101
45#define READWARN 10102
47#define WRITEWARN 10103
49#define ARGWARN 10104
50
54//======================================
55//Errors:
56//-------
58#define INDTOCOORD 11001
60#define COORDTOIND 11002
62#define BOUNDERROR 11003
64#define ARRAYLEN 11004
66#define CPYERROR 11005
68#define STRDERROR 11006
69
70//Warnings:
71//---------
73#define BOUNDWARN 11103
75#define LIMWARN 11104
77#define CPYWARN 11105
78
81//================================
82//Errors:
83//------
85#define NO_MPI_INIT 12001
87#define NO_MPI_RANK 12002
89#define NO_MPI_SIZE 12003
91#define SIZEPROC 12004
93#define NUMELEM 12005
95#define CANTSEND 12006
97#define CANTRECV 12007
99#define BROADERR 12008
101#define REDUCERR 12009
103#define GATHERR 12010
104
105//Warnings:
106//---------
108#define DIFNPROC 12101
109
111//=================================
112//Errors:
113//-------
115#define LAYERROR 13001
117#define HALOLIM 13002
118
120//=================================
121//Errors:
122//-------
124#define DIVZERO 14001
126#define REUNIERR 14002
128#define CONVERR 14003
130#define UDPERR 14003
132#define SPHIERR 14004
133
134//Warnings:
135//--------
137#define ITERLIM 14101
139#define FITWARN 14102
140
141//Alerts:
142//------
144#define NOINIT 14201
145
146//CUDA Errors. Leading digits are 15
147//==================================
148//Errors:
149//------
151#define BLOCKERROR 15001
152
153//Warnings:
154//------
156#define BLOCKWARN 15101
157
158//ALERT:
159//------
161#define BLOCKALERT 15201
162
165#define NOIMPL 16001
166#endif