aboutsummaryrefslogtreecommitdiff
path: root/Carpet/Carpet/interface.ccl
diff options
context:
space:
mode:
authortradke <schnetter@cct.lsu.edu>2004-11-17 18:35:00 +0000
committertradke <schnetter@cct.lsu.edu>2004-11-17 18:35:00 +0000
commit545d5b76a2ade3dd3e595492122da8cc454d0e23 (patch)
tree5d8bd067f2dcea340e1bd6edc41516e527d10c83 /Carpet/Carpet/interface.ccl
parentd05a99da36ea8068cb17566caac4a307764fcad2 (diff)
Use aliased function IO_TruncateOutputFiles() to check whether or not to truncate existing output files
darcs-hash:20041117183557-3fd61-35b878baefc7f13303163f54eb4489cbfc9f8690.gz
Diffstat (limited to 'Carpet/Carpet/interface.ccl')
-rw-r--r--Carpet/Carpet/interface.ccl7
1 files changed, 7 insertions, 0 deletions
diff --git a/Carpet/Carpet/interface.ccl b/Carpet/Carpet/interface.ccl
index 2a1ee6f82..587809ab7 100644
--- a/Carpet/Carpet/interface.ccl
+++ b/Carpet/Carpet/interface.ccl
@@ -87,3 +87,10 @@ CCTK_INT FUNCTION Carpet_Regrid (CCTK_POINTER_TO_CONST IN cctkGH, \
CCTK_POINTER IN pss, \
CCTK_INT IN force)
USES FUNCTION Carpet_Regrid
+
+
+# function to check whether existing output files should be truncated or not
+CCTK_INT FUNCTION IO_TruncateOutputFiles \
+ (CCTK_POINTER_TO_CONST IN GH)
+
+REQUIRES FUNCTION IO_TruncateOutputFiles