From b978abe58fd2ea8fd41e4759a449d7d2025913bb Mon Sep 17 00:00:00 2001 From: tradke Date: Wed, 17 Nov 2004 18:42:19 +0000 Subject: 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 --- param.ccl | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'param.ccl') 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" -- cgit v1.2.3