diff options
author | Erik Schnetter <schnetter@cct.lsu.edu> | 2008-07-15 12:02:45 -0500 |
---|---|---|
committer | Erik Schnetter <schnetter@cct.lsu.edu> | 2008-07-15 12:02:45 -0500 |
commit | ca9fa8e10e30a0327cb25d5aa3673f1f4f593e0c (patch) | |
tree | d2796861f8bdfdb62cedd77a391f5cd477c5a605 /Carpet/CarpetReduce/interface.ccl | |
parent | 2cebb35730c8e147620bc6925531ded5c25ed7f4 (diff) |
CarpetReduce: Handle multi-patch boundaries correctly
Use MultiPatch_GetBoundarySpecification to determine the boundary
specifications if it is available; otherwise, use GetBoundarySpecification.
Diffstat (limited to 'Carpet/CarpetReduce/interface.ccl')
-rw-r--r-- | Carpet/CarpetReduce/interface.ccl | 28 |
1 files changed, 22 insertions, 6 deletions
diff --git a/Carpet/CarpetReduce/interface.ccl b/Carpet/CarpetReduce/interface.ccl index 71b96c3a6..e19087aa9 100644 --- a/Carpet/CarpetReduce/interface.ccl +++ b/Carpet/CarpetReduce/interface.ccl @@ -14,12 +14,28 @@ CCTK_INT FUNCTION \ SymmetryTableHandleForGrid (CCTK_POINTER_TO_CONST IN cctkGH) REQUIRES FUNCTION SymmetryTableHandleForGrid -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) +CCTK_INT FUNCTION \ + MultiPatch_GetMap \ + (CCTK_POINTER_TO_CONST IN cctkGH) +USES FUNCTION MultiPatch_GetMap + +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 \ + 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) REQUIRES FUNCTION GetBoundarySpecification |