aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetReduce
diff options
context:
space:
mode:
authorRoland Haas <roland.haas@physics.gatech.edu>2011-02-25 08:39:27 -0500
committerBarry Wardell <barry.wardell@gmail.com>2011-12-14 18:26:01 +0000
commit238189e61a4f743f3ba1b0fc981ce8557c932e11 (patch)
tree0c4bc246c6a5578a430c96f997006ddbb79a3cf3 /Carpet/CarpetReduce
parentae74a639e4a11249793442de694ae84d806d96f4 (diff)
CarpetReduce: declare aliased GetBoundarySpecification functions
from CoordBase and MultiPact in interface.ccl and by including cctk_Functions.h
Diffstat (limited to 'Carpet/CarpetReduce')
-rw-r--r--Carpet/CarpetReduce/interface.ccl19
-rw-r--r--Carpet/CarpetReduce/src/mask_coords.c1
2 files changed, 20 insertions, 0 deletions
diff --git a/Carpet/CarpetReduce/interface.ccl b/Carpet/CarpetReduce/interface.ccl
index 5e757d0e4..fdbf627b3 100644
--- a/Carpet/CarpetReduce/interface.ccl
+++ b/Carpet/CarpetReduce/interface.ccl
@@ -19,6 +19,25 @@ uses include header: loopcontrol.h
+CCTK_INT FUNCTION \
+ GetBoundarySpecification \
+ (CCTK_INT IN size, \
+ CCTK_INT OUT ARRAY nboundaryzones, \
+ CCTK_INT OUT ARRAY is_internal, \
+ CCTK_INT OUT ARRAY is_staggered, \
+ CCTK_INT OUT ARRAY shiftout)
+USES FUNCTION GetBoundarySpecification
+
+CCTK_INT FUNCTION \
+ MultiPatch_GetBoundarySpecification \
+ (CCTK_INT IN map, \
+ CCTK_INT IN size, \
+ CCTK_INT OUT ARRAY nboundaryzones, \
+ CCTK_INT OUT ARRAY is_internal, \
+ CCTK_INT OUT ARRAY is_staggered, \
+ CCTK_INT OUT ARRAY shiftout)
+USES FUNCTION MultiPatch_GetBoundarySpecification
+
CCTK_INT FUNCTION \
SymmetryTableHandleForGrid (CCTK_POINTER_TO_CONST IN cctkGH)
REQUIRES FUNCTION SymmetryTableHandleForGrid
diff --git a/Carpet/CarpetReduce/src/mask_coords.c b/Carpet/CarpetReduce/src/mask_coords.c
index d861a6d2b..814f1ecfb 100644
--- a/Carpet/CarpetReduce/src/mask_coords.c
+++ b/Carpet/CarpetReduce/src/mask_coords.c
@@ -3,6 +3,7 @@
#include <cctk.h>
#include <cctk_Arguments.h>
#include <cctk_Parameters.h>
+#include <cctk_Functions.h>
#include <loopcontrol.h>