aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetSlab/src/GetHyperslab.h
diff options
context:
space:
mode:
Diffstat (limited to 'Carpet/CarpetSlab/src/GetHyperslab.h')
-rw-r--r--Carpet/CarpetSlab/src/GetHyperslab.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/Carpet/CarpetSlab/src/GetHyperslab.h b/Carpet/CarpetSlab/src/GetHyperslab.h
new file mode 100644
index 000000000..492c4b325
--- /dev/null
+++ b/Carpet/CarpetSlab/src/GetHyperslab.h
@@ -0,0 +1,32 @@
+/* $Header$ */
+
+#ifndef CARPETSLAB_GETHYPERSLAB_H
+#define CARPETSLAB_GETHYPERSLAB_H
+
+#include "cctk.h"
+
+#ifdef __cplusplus
+namespace CarpetSlab {
+ extern "C" {
+#endif
+
+ /* Old interface -- don't use */
+ int
+ Hyperslab_GetHyperslab (const cGH* const GH,
+ const int target_proc,
+ const int vindex,
+ const int vtimelvl,
+ const int hdim,
+ const int global_startpoint [/*vdim*/],
+ const int directions [/*vdim*/],
+ const int lengths [/*hdim*/],
+ const int downsample [/*hdim*/],
+ void** const hdata,
+ int hsize [/*hdim*/]);
+
+#ifdef __cplusplus
+ } /* extern "C" */
+} /* namespace CarpetSlab */
+#endif
+
+#endif /* !defined(CARPETSLAB_GETHYPERSLAB_H) */