diff options
author | tradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2003-03-10 15:39:35 +0000 |
---|---|---|
committer | tradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2003-03-10 15:39:35 +0000 |
commit | b30da4065e36b8bff28382b93fa5a1f6523549d6 (patch) | |
tree | 3c10a482b6ec6d5d7d2dada7cc5c75beb55b4bbc /src | |
parent | feb31251dd1bb16a86417c98a656fb86f7c185bd (diff) |
Added new error code CCTK_ERROR_INTERP_GHOST_SIZE_TOO_SMALL.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3166 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src')
-rw-r--r-- | src/include/cctk_Interp.h | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/src/include/cctk_Interp.h b/src/include/cctk_Interp.h index c0bb59ae..632f89a7 100644 --- a/src/include/cctk_Interp.h +++ b/src/include/cctk_Interp.h @@ -145,15 +145,23 @@ int CCTK_InterpLocalUniform(int N_dims, */ /* the grid is too small for the selected interpolation molecule */ -#define CCTK_ERROR_INTERP_GRID_TOO_TINY (-1000) +#define CCTK_ERROR_INTERP_GRID_TOO_SMALL (-1000) +/* ... old code for backwards compatability */ +#define CCTK_ERROR_INTERP_GRID_TOO_TINY CCTK_ERROR_INTERP_GRID_TOO_SMALL + +/* + * the (multiprocessor) grid's ghostzone size is too small for the selected + * interpolation molecule (or this processor's chunk of the grid is too small) + */ +#define CCTK_ERROR_INTERP_GHOST_SIZE_TOO_SMALL (-1001) /* an interpolation point is outside the input grid */ -#define CCTK_ERROR_INTERP_POINT_OUTSIDE (-1001) +#define CCTK_ERROR_INTERP_POINT_OUTSIDE (-1002) /* ... old code for backwards compatability */ -#define CCTK_ERROR_INTERP_POINT_X_RANGE (-1001) +#define CCTK_ERROR_INTERP_POINT_X_RANGE CCTK_ERROR_INTERP_POINT_OUTSIDE /* an interpolation point is in an excised region */ -#define CCTK_ERROR_INTERP_POINT_EXCISED (-1002) +#define CCTK_ERROR_INTERP_POINT_EXCISED (-1003) #ifdef __cplusplus } |