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 264 of file utils.h.

#define E_INTERNAL   1000

internal error, should not happen

Definition at line 266 of file utils.h.

#define E_OTHER   2000

some other error

Definition at line 267 of file utils.h.

#define E_ALLOC   1

cannot (re/m/c)alloc, etc

Definition at line 268 of file utils.h.

#define E_BADINPUT   2

incorrect input data

Definition at line 269 of file utils.h.

#define E_OUTOFBOUNDS   3

if array bound check failed

Definition at line 270 of file utils.h.

#define E_BADINDEX   4

wrong index

Definition at line 271 of file utils.h.

#define E_BADARRINDEX   5

wrong array index in the domain

Definition at line 272 of file utils.h.

#define E_BADDIMINDEX   6

wrong dimension index in the array

Definition at line 273 of file utils.h.

#define E_FILE   7

problem with file operations

Definition at line 274 of file utils.h.

#define E_FILEOPEN   8

problem opening file

Definition at line 275 of file utils.h.

#define E_MPI   9

mpi function returned error code

Definition at line 276 of file utils.h.

#define E_DOMAINDECOMP   10

could not do domain decomposition

Definition at line 277 of file utils.h.

#define E_PARSE   11

problem with parsing parameter file

Definition at line 278 of file utils.h.

#define E_PARSENONAME   12

name not found

Definition at line 279 of file utils.h.

#define E_PARSENOVALUE   13

value not found

Definition at line 280 of file utils.h.

#define E_PARSECONVERT   14

cannot convert

Definition at line 281 of file utils.h.

#define E_ALREADYALLOC   15

allocating already allocated array

Definition at line 282 of file utils.h.

#define E_RANGE   -2

out of range

Definition at line 283 of file utils.h.

#define E_OVERFLOW   -3

out of range - overflow

Definition at line 284 of file utils.h.

#define E_UNDERFLOW   -4

out of range - underflow

Definition at line 285 of file utils.h.

#define E_NOTIMESTEP   -100

no time step needed for array

Definition at line 286 of file utils.h.

#define E_NOTINGRID   -200

process with these indices not in domain decomposition grid

Definition at line 287 of file utils.h.


Generated on 5 Jan 2017 for IWAVEBASE by  doxygen 1.4.7