summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/include/Interp.h53
1 files changed, 53 insertions, 0 deletions
diff --git a/src/include/Interp.h b/src/include/Interp.h
new file mode 100644
index 00000000..de4fd06f
--- /dev/null
+++ b/src/include/Interp.h
@@ -0,0 +1,53 @@
+ /*@@
+ @header Interp.h
+ @date July 07 1999
+ @author Thomas Radke
+ @desc
+ Header file for using interpolation operators
+ @enddesc
+ @history
+ @date July 07 1999
+ @author Thomas Radke
+ @hdesc Just copied from Reduction.h
+ @endhistory
+ @@*/
+
+
+#ifndef _INTERP_H_
+#define _INTERP_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#define REGISTER_INTERP_ARGLIST \
+ cGH *, \
+ int, \
+ int, \
+ int, \
+ int, \
+ void **,\
+ int *, \
+ int *, \
+ void **,\
+ int *
+
+int CCTK_Interp(cGH *GH,
+ int operation_handle,
+ int nPoints,
+ int nCoords,
+ int nInFields,
+ int nOutFields,
+ ...);
+
+int CCTK_GetInterpHandle(const char *interp);
+
+int CCTK_RegisterInterpOperator(int (*function)(REGISTER_INTERP_ARGLIST),
+ const char *name);
+
+
+#ifdef __cplusplus
+ }
+#endif
+
+#endif /* _INTERP_H_ */