summaryrefslogtreecommitdiff
path: root/src/include/cctk_Interp.h
diff options
context:
space:
mode:
authorrideout <rideout@17b73243-c579-4c4c-a9d2-2d5706c11dac>2002-02-27 07:10:51 +0000
committerrideout <rideout@17b73243-c579-4c4c-a9d2-2d5706c11dac>2002-02-27 07:10:51 +0000
commitd8db21d026d7599b6eafb4f213fabce1e233570b (patch)
treeafb7e2f008bd0c6b38ad478e9eb51cc675c351e2 /src/include/cctk_Interp.h
parent47f801bfc2dbe9adfaf7d5b0f7ec5c74a0fb1fd0 (diff)
[[changes from Jonathan Thornburg]]
* define error return code for "point out of range" from CCTK_InterpLocalUniform() API (I've discussed this with Tom Goodale) git-svn-id: http://svn.cactuscode.org/flesh/trunk@2632 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/include/cctk_Interp.h')
-rw-r--r--src/include/cctk_Interp.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/include/cctk_Interp.h b/src/include/cctk_Interp.h
index e2f74291..530a8e6b 100644
--- a/src/include/cctk_Interp.h
+++ b/src/include/cctk_Interp.h
@@ -140,6 +140,13 @@ int CCTK_InterpLocalUniform(int N_dims,
const CCTK_INT output_array_type_codes[],
void *const output_arrays[]);
+/*
+ * error codes for CCTK_InterpLocalUniform()
+ */
+
+/* an interpolation point is outside the range of the input arrays */
+#define CCTK_ERROR_INTERP_POINT_X_RANGE (-1000)
+
#ifdef __cplusplus
}
#endif