aboutsummaryrefslogtreecommitdiff
path: root/Carpet/Carpet/interface.ccl
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@cct.lsu.edu>2008-02-19 17:28:00 +0000
committerErik Schnetter <schnetter@cct.lsu.edu>2008-02-19 17:28:00 +0000
commit200148fe2a1416187d88bb054d9c7c1155158834 (patch)
treea2d1d078be9b582a1c74d5c4998ba03bfcf46a80 /Carpet/Carpet/interface.ccl
parentab32899ccb20116476948f785591c3292c48dc3d (diff)
Carpet: Use MultiPatch_ConvertFromPhysicalBoundary, if available
Use MultiPatch_ConvertFromPhysicalBoundary instead of CoordBase's ConvertFromPhysicalBoundary, if it is available. darcs-hash:20080219172824-dae7b-a63ad0a3897917f703c5c65a0a05beb4bf690b24.gz
Diffstat (limited to 'Carpet/Carpet/interface.ccl')
-rw-r--r--Carpet/Carpet/interface.ccl13
1 files changed, 13 insertions, 0 deletions
diff --git a/Carpet/Carpet/interface.ccl b/Carpet/Carpet/interface.ccl
index f4310744d..06c159757 100644
--- a/Carpet/Carpet/interface.ccl
+++ b/Carpet/Carpet/interface.ccl
@@ -138,6 +138,19 @@ CCTK_INT FUNCTION MultiPatch_GetDomainSpecification \
CCTK_REAL OUT ARRAY spacing)
USES FUNCTION MultiPatch_GetDomainSpecification
+# Conversion between boundary types
+CCTK_INT FUNCTION MultiPatch_ConvertFromPhysicalBoundary \
+ (CCTK_INT IN map, \
+ CCTK_INT IN size, \
+ CCTK_REAL IN ARRAY physical_min, \
+ CCTK_REAL IN ARRAY physical_max, \
+ CCTK_REAL OUT ARRAY interior_min, \
+ CCTK_REAL OUT ARRAY interior_max, \
+ CCTK_REAL OUT ARRAY exterior_min, \
+ CCTK_REAL OUT ARRAY exterior_max, \
+ CCTK_REAL IN ARRAY spacing)
+USES FUNCTION MultiPatch_ConvertFromPhysicalBoundary
+
# Access coordinate information (on the coarse level)