Error codes

Error codes used throughout IWAVE. More...

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

Detailed Description

Error codes used throughout IWAVE.


Define Documentation

#define E_SUCCESS   0

no error

Definition at line 235 of file utils.h.

#define E_INTERNAL   1000

internal error, should not happen

Definition at line 237 of file utils.h.

#define E_OTHER   2000

some other error

Definition at line 238 of file utils.h.

#define E_ALLOC   1

cannot (re/m/c)alloc, etc

Definition at line 239 of file utils.h.

#define E_BADINPUT   2

incorrect input data

Definition at line 240 of file utils.h.

#define E_OUTOFBOUNDS   3

if array bound check failed

Definition at line 241 of file utils.h.

#define E_BADINDEX   4

wrong index

Definition at line 242 of file utils.h.

#define E_BADARRINDEX   5

wrong array index in the domain

Definition at line 243 of file utils.h.

#define E_BADDIMINDEX   6

wrong dimension index in the array

Definition at line 244 of file utils.h.

#define E_FILE   7

problem with file operations

Definition at line 245 of file utils.h.

#define E_FILEOPEN   8

problem opening file

Definition at line 246 of file utils.h.

#define E_MPI   9

mpi function returned error code

Definition at line 247 of file utils.h.

#define E_DOMAINDECOMP   10

could not do domain decomposition

Definition at line 248 of file utils.h.

#define E_PARSE   11

problem with parsing parameter file

Definition at line 249 of file utils.h.

#define E_PARSENONAME   12

name not found

Definition at line 250 of file utils.h.

#define E_PARSENOVALUE   13

value not found

Definition at line 251 of file utils.h.

#define E_PARSECONVERT   14

cannot convert

Definition at line 252 of file utils.h.

#define E_ALREADYALLOC   15

allocating already allocated array

Definition at line 253 of file utils.h.

#define E_RANGE   -2

out of range

Definition at line 254 of file utils.h.

#define E_OVERFLOW   -3

out of range - overflow

Definition at line 255 of file utils.h.

#define E_UNDERFLOW   -4

out of range - underflow

Definition at line 256 of file utils.h.

#define E_NOTIMESTEP   -100

no time step needed for array

Definition at line 257 of file utils.h.

#define E_NOTINGRID   -200

process with these indices not in domain decomposition grid

Definition at line 258 of file utils.h.


Generated on Thu Dec 6 09:58:23 2012 for IWAVE by  doxygen 1.4.7