aboutsummaryrefslogtreecommitdiff
path: root/src/ioGH.h
diff options
context:
space:
mode:
authortradke <tradke@b32723a9-ab3a-4a60-88e2-2e5d99d7c17a>2000-04-12 14:06:59 +0000
committertradke <tradke@b32723a9-ab3a-4a60-88e2-2e5d99d7c17a>2000-04-12 14:06:59 +0000
commitd3dbc96a58509179a73881657cb99ed799cfc8c6 (patch)
treea7adfac258dbdab82ff99e9b7f7ba962fe3cd5e5 /src/ioGH.h
parentac0f4eaaa90226228ea3b69480abfdaed62d4a56 (diff)
Added 'recovered' flag to the IO GH extensions which is set after a
successful recovery. This flag is meant to be used by IO methods to decide whether to open existing output files in TRUNCATE or APPEND mode. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@55 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
Diffstat (limited to 'src/ioGH.h')
-rw-r--r--src/ioGH.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ioGH.h b/src/ioGH.h
index bbc19af..b6743eb 100644
--- a/src/ioGH.h
+++ b/src/ioGH.h
@@ -48,6 +48,9 @@ typedef struct IOGH {
int *downsample; /* downsampling parameters array of size cctk_maxdim */
int out_single; /* if true output 3D data in single precision */
+ /* for recovery */
+ int recovered; /* flag indicated restart after successful recovery */
+
} ioGH;
/* enums for checkpointing/recovery and filereader functions */