aboutsummaryrefslogtreecommitdiff
path: root/src/periodic.h
diff options
context:
space:
mode:
authorschnetter <schnetter@1bf05452-ddb3-4880-bfa1-00436340132b>2003-05-05 11:58:09 +0000
committerschnetter <schnetter@1bf05452-ddb3-4880-bfa1-00436340132b>2003-05-05 11:58:09 +0000
commit7d957cbc6da68f0b6bc24065ee7ada778f688a70 (patch)
tree2f4a11db596e0664d8a575c0707c07c8f1f8e688 /src/periodic.h
parent7e2caf1a266d0cef99ebf57b7bf451d47dc37457 (diff)
Initial coding of a thorn that provides periodic boundary conditions
that are independent of PUGH, i.e. that work with both PUGH and Carpet. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Periodic/trunk@2 1bf05452-ddb3-4880-bfa1-00436340132b
Diffstat (limited to 'src/periodic.h')
-rw-r--r--src/periodic.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/periodic.h b/src/periodic.h
new file mode 100644
index 0000000..2f381f3
--- /dev/null
+++ b/src/periodic.h
@@ -0,0 +1,29 @@
+/* $Header$ */
+
+#ifndef PERIODIC_H
+#define PERIODIC_H
+
+#include "cctk.h"
+
+int
+BndPeriodicVI (cGH const * restrict const cctkGH,
+ int const * restrict const stencil,
+ int const vi);
+
+int
+BndPeriodicVN (cGH const * restrict const cctkGH,
+ int const * restrict const stencil,
+ char const * restrict const vn);
+
+int
+BndPeriodicGI (cGH const * restrict const cctkGH,
+ int const * restrict const stencil,
+ int const gi);
+
+int
+BndPeriodicGN (cGH const * restrict const cctkGH,
+ int const * restrict const stencil,
+ char const * restrict const gn);
+
+#endif /* defined PERIODIC_H */
+