diff options
author | tradke <tradke@b32723a9-ab3a-4a60-88e2-2e5d99d7c17a> | 2004-11-17 18:42:19 +0000 |
---|---|---|
committer | tradke <tradke@b32723a9-ab3a-4a60-88e2-2e5d99d7c17a> | 2004-11-17 18:42:19 +0000 |
commit | b978abe58fd2ea8fd41e4759a449d7d2025913bb (patch) | |
tree | 0fd9b24c5c168da482b9518b75d94a997af935b9 /interface.ccl | |
parent | a70b5e44c20c115954634bce7287c63875ada576 (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 'interface.ccl')
-rw-r--r-- | interface.ccl | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/interface.ccl b/interface.ccl index 40f0d99..8ffef18 100644 --- a/interface.ccl +++ b/interface.ccl @@ -11,3 +11,11 @@ CCTK_INT FUNCTION Coord_GetDefaultSystem \ CCTK_INT IN systemdim) REQUIRES FUNCTION Coord_GetDefaultSystem + + +CCTK_INT FUNCTION IO_TruncateOutputFiles \ + (CCTK_POINTER_TO_CONST IN GH) + +PROVIDES FUNCTION IO_TruncateOutputFiles \ + WITH IOUtil_TruncateOutputFiles \ + LANGUAGE C |