diff options
author | cott <> | 2004-01-09 14:43:00 +0000 |
---|---|---|
committer | cott <> | 2004-01-09 14:43:00 +0000 |
commit | 73de628ef31f00b9a42476e9fdb6168e09c60c45 (patch) | |
tree | 31768081c5ca11d8ef64d01efb7d2c9d1ed91d2a /CarpetAttic/CarpetIOFlexIOCheckpoint/src/ioflexioUtil.cc | |
parent | fdabf8e0b555306b25527e4d685e315c2ef80784 (diff) |
a few changes that help with recovery
darcs-hash:20040109144346-19929-67096355895264e0861c3792c7bd3893ee932801.gz
Diffstat (limited to 'CarpetAttic/CarpetIOFlexIOCheckpoint/src/ioflexioUtil.cc')
-rw-r--r-- | CarpetAttic/CarpetIOFlexIOCheckpoint/src/ioflexioUtil.cc | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/CarpetAttic/CarpetIOFlexIOCheckpoint/src/ioflexioUtil.cc b/CarpetAttic/CarpetIOFlexIOCheckpoint/src/ioflexioUtil.cc index 97ee800cf..17d2c699a 100644 --- a/CarpetAttic/CarpetIOFlexIOCheckpoint/src/ioflexioUtil.cc +++ b/CarpetAttic/CarpetIOFlexIOCheckpoint/src/ioflexioUtil.cc @@ -145,12 +145,10 @@ void DumpCommonAttributes (const cGH *cgh, IObase* writer, ioRequest* request) -#if 0 - // already dumped by amrwriter if we are dealing with a grid function or a grid array: - if (CCTK_GroupTypeFromVarI (request->vindex) == CCTK_SCALAR) - writer->writeAttribute("time",FlexIODataType(CCTK_VARIABLE_REAL),1,&cgh->cctk_time); -#endif + // already dumped by amrwriter (obsolete!) + writer->writeAttribute("cctk_time",FlexIODataType(CCTK_VARIABLE_REAL),1,&cgh->cctk_time); + /* attributes describing the underlying grid These are only stored for CCTK_GF variables if they are associated |