summaryrefslogtreecommitdiff
path: root/src/include/cctk_Interp.h
diff options
context:
space:
mode:
authorjthorn <jthorn@17b73243-c579-4c4c-a9d2-2d5706c11dac>2006-08-31 10:02:54 +0000
committerjthorn <jthorn@17b73243-c579-4c4c-a9d2-2d5706c11dac>2006-08-31 10:02:54 +0000
commite23f240709154019feeef1b4826f5fe9ee58867b (patch)
tree6de3bc95d7726a0459c9dad388a99c269c9ac6a8 /src/include/cctk_Interp.h
parent92012003ee8e0aad5e423d7f1df9146ce31908cf (diff)
add another error code for the interpolators:
previously specifying a grid spacing of zero caused the interpolator to return a generic "we encountered a NaN/infinity/non-finite" error code now there's a new error code specifically for this case git-svn-id: http://svn.cactuscode.org/flesh/trunk@4368 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/include/cctk_Interp.h')
-rw-r--r--src/include/cctk_Interp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/cctk_Interp.h b/src/include/cctk_Interp.h
index b20954c6..3139dd98 100644
--- a/src/include/cctk_Interp.h
+++ b/src/include/cctk_Interp.h
@@ -125,4 +125,7 @@ int CCTK_InterpLocalUniform (int N_dims,
/* interpolation process) was an IEEE NaN or other non-finite number */
#define CCTK_ERROR_INTERP_COORD_NAN (-1004)
+/* the grid spacing was specified as zero along at least one axis */
+#define CCTK_ERROR_INTERP_DELTA_X_ZERO (-1005)
+
#endif /* _INTERP_H_ */