diff options
author | tradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2002-12-20 14:28:15 +0000 |
---|---|---|
committer | tradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2002-12-20 14:28:15 +0000 |
commit | 3afa2b676f58837c3b9a9213dc9405cbae9c76fc (patch) | |
tree | 505333f1f43ea615bd5ea45035b539a31583ddfc | |
parent | 3ee71d1cd5a886572465aabc736f2752c9061dd5 (diff) |
CVS commit on behalf of Jonathan Thornburg:
add some more explanation for the CCTK_ERROR_INTERP_POINT_X_RANGE
error code:
> /* n.b. the "X" here abbreviates "not" -- the point could be out of range
> /* along any coordinate axis */
and add a new error code:
> /* the grid is too small for the selected interpolation molecule */
> #define CCTK_ERROR_INTERP_GRID_TOO_TINY (-1001)
(Both of these are 31 letters long, which is exactly the maximum length
that the C standard guarantees that compilers/preprocessors must honor.)
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3051 17b73243-c579-4c4c-a9d2-2d5706c11dac
-rw-r--r-- | src/include/cctk_Interp.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/cctk_Interp.h b/src/include/cctk_Interp.h index 530a8e6b..e1f267a0 100644 --- a/src/include/cctk_Interp.h +++ b/src/include/cctk_Interp.h @@ -145,8 +145,13 @@ int CCTK_InterpLocalUniform(int N_dims, */ /* an interpolation point is outside the range of the input arrays */ +/* n.b. the "X" here abbreviates "not" -- the point could be out of range +/* along any coordinate axis */ #define CCTK_ERROR_INTERP_POINT_X_RANGE (-1000) +/* the grid is too small for the selected interpolation molecule */ +#define CCTK_ERROR_INTERP_GRID_TOO_TINY (-1001) + #ifdef __cplusplus } #endif |