aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetIOHDF5/src/Output.cc
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@aei.mpg.de>2005-02-07 13:19:00 +0000
committerErik Schnetter <schnetter@aei.mpg.de>2005-02-07 13:19:00 +0000
commit55cf6a666c23377187ac12e26dad69af39882b94 (patch)
treeb5b87992f2c863f78a1bc4d4b99f8b9ff1c52cc8 /Carpet/CarpetIOHDF5/src/Output.cc
parentfc1e74f53d987cf01a21139eacebe95940b2a690 (diff)
CarpetIOHDF5: Use positive timelevels
darcs-hash:20050207131924-891bb-0dbd85d6ac494fcac9aef96ad00c37025a4891e1.gz
Diffstat (limited to 'Carpet/CarpetIOHDF5/src/Output.cc')
-rw-r--r--Carpet/CarpetIOHDF5/src/Output.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/Carpet/CarpetIOHDF5/src/Output.cc b/Carpet/CarpetIOHDF5/src/Output.cc
index e3bc38873..7cc43c815 100644
--- a/Carpet/CarpetIOHDF5/src/Output.cc
+++ b/Carpet/CarpetIOHDF5/src/Output.cc
@@ -382,7 +382,7 @@ int WriteVar (const cGH* const cctkGH, const hid_t writer,
// Copy the overlap to the local processor
const ggf* ff = arrdata.at(gindex).at(Carpet::map).data.at(var);
- const gdata* const data = (*ff) (-request->timelevel,
+ const gdata* const data = (*ff) (request->timelevel,
refinementlevel,
component, mglevel);
gdata* const processor_component = data->make_typed (request->vindex);
@@ -870,7 +870,7 @@ static void AddAttributes (const cGH *const cctkGH, const char *fullname,
// Legacy arguments
WriteAttribute (dataset, "name", fullname);
- WriteAttribute (dataset, "group_timelevel", -request->timelevel);
+ WriteAttribute (dataset, "group_timelevel", request->timelevel);
#if 0
// FIXME TR: output bbox and nghostzones again for chunked output