aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetIOHDF5/interface.ccl
diff options
context:
space:
mode:
Diffstat (limited to 'Carpet/CarpetIOHDF5/interface.ccl')
-rw-r--r--Carpet/CarpetIOHDF5/interface.ccl10
1 files changed, 9 insertions, 1 deletions
diff --git a/Carpet/CarpetIOHDF5/interface.ccl b/Carpet/CarpetIOHDF5/interface.ccl
index 6c526e011..9d1f86161 100644
--- a/Carpet/CarpetIOHDF5/interface.ccl
+++ b/Carpet/CarpetIOHDF5/interface.ccl
@@ -30,7 +30,15 @@ CCTK_INT FUNCTION Coord_GroupSystem \
CCTK_STRING IN groupname)
USES FUNCTION Coord_GroupSystem
-# function to check whether existing output files should be truncated or not
+# Specify whether a map uses a Cartesian or a curvilinear coordinate system
+CCTK_INT FUNCTION \
+ MultiPatch_MapIsCartesian \
+ (CCTK_INT IN map)
+USES FUNCTION MultiPatch_MapIsCartesian
+
+
+
+# Check whether existing output files should be truncated or not
CCTK_INT FUNCTION IO_TruncateOutputFiles \
(CCTK_POINTER_TO_CONST IN GH)