Defines | |
| #define | E_SUCCESS 0 |
| no error | |
| #define | E_INTERNAL 1000 |
| internal error, should not happen | |
| #define | E_OTHER 2000 |
| some other error | |
| #define | E_ALLOC 1 |
| cannot (re/m/c)alloc, etc | |
| #define | E_BADINPUT 2 |
| incorrect input data | |
| #define | E_OUTOFBOUNDS 3 |
| if array bound check failed | |
| #define | E_BADINDEX 4 |
| wrong index | |
| #define | E_BADARRINDEX 5 |
| wrong array index in the domain | |
| #define | E_BADDIMINDEX 6 |
| wrong dimension index in the array | |
| #define | E_FILE 7 |
| problem with file operations | |
| #define | E_FILEOPEN 8 |
| problem opening file | |
| #define | E_MPI 9 |
| mpi function returned error code | |
| #define | E_DOMAINDECOMP 10 |
| could not do domain decomposition | |
| #define | E_PARSE 11 |
| problem with parsing parameter file | |
| #define | E_PARSENONAME 12 |
| name not found | |
| #define | E_PARSENOVALUE 13 |
| value not found | |
| #define | E_PARSECONVERT 14 |
| cannot convert | |
| #define | E_ALREADYALLOC 15 |
| allocating already allocated array | |
| #define | E_RANGE -2 |
| out of range | |
| #define | E_OVERFLOW -3 |
| out of range - overflow | |
| #define | E_UNDERFLOW -4 |
| out of range - underflow | |
| #define | E_NOTIMESTEP -100 |
| no time step needed for array | |
| #define | E_NOTINGRID -200 |
| process with these indices not in domain decomposition grid | |
| #define E_ALREADYALLOC 15 |
| #define E_NOTINGRID -200 |
1.4.7