aboutsummaryrefslogtreecommitdiff
path: root/param.ccl
diff options
context:
space:
mode:
authortradke <tradke@b32723a9-ab3a-4a60-88e2-2e5d99d7c17a>2004-11-17 18:42:19 +0000
committertradke <tradke@b32723a9-ab3a-4a60-88e2-2e5d99d7c17a>2004-11-17 18:42:19 +0000
commitb978abe58fd2ea8fd41e4759a449d7d2025913bb (patch)
tree0fd9b24c5c168da482b9518b75d94a997af935b9 /param.ccl
parenta70b5e44c20c115954634bce7287c63875ada576 (diff)
Provide an aliased function IO_TruncateOutputFiles() for other I/O thorns
to check whether or not to truncate existing output files. The default is to not truncate after recovering. This can be overwritten by the new boolean parameter IO::truncate_files_after_recovering. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@219 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
Diffstat (limited to 'param.ccl')
-rw-r--r--param.ccl7
1 files changed, 7 insertions, 0 deletions
diff --git a/param.ccl b/param.ccl
index e6d0045..50277b8 100644
--- a/param.ccl
+++ b/param.ccl
@@ -296,3 +296,10 @@ INT out_xyplane_zi "z-index (from 0) for 2D planes in xy, overrrides IO::out_xyp
0:* :: "An index between [0, nz)"
-1: :: "Default to physical coordinate IO::out_xyplane_z"
} -1
+
+
+private:
+
+BOOLEAN truncate_files_after_recovering "Truncate existing output files after recovering ?" STEERABLE = RECOVER
+{
+} "no"