aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschnetter <>2004-07-06 13:33:00 +0000
committerschnetter <>2004-07-06 13:33:00 +0000
commit9412f446a2dc89ad40c469814b1aed5bd990de79 (patch)
tree9b47f5fc41b46129215006bebcd1e0d19961a803
parentf77e0f789185ab353fc2ead6478fd795eb60f290 (diff)
Write the correct value for the FlexIO "origin" attribute.
darcs-hash:20040706133301-07bb3-48fbb93251e6b988babbe5e4c0e84c8926d1b3da.gz
-rw-r--r--Carpet/CarpetIOHDF5/src/iohdf5.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/Carpet/CarpetIOHDF5/src/iohdf5.cc b/Carpet/CarpetIOHDF5/src/iohdf5.cc
index fe8328df9..aead94071 100644
--- a/Carpet/CarpetIOHDF5/src/iohdf5.cc
+++ b/Carpet/CarpetIOHDF5/src/iohdf5.cc
@@ -17,7 +17,7 @@
#include "cctk_Parameters.h"
extern "C" {
- static const char* rcsid = "$Header: /home/eschnett/C/carpet/Carpet/Carpet/CarpetIOHDF5/src/iohdf5.cc,v 1.36 2004/06/25 11:57:04 schnetter Exp $";
+ static const char* rcsid = "$Header: /home/eschnett/C/carpet/Carpet/Carpet/CarpetIOHDF5/src/iohdf5.cc,v 1.37 2004/07/06 15:33:01 schnetter Exp $";
CCTK_FILEVERSION(Carpet_CarpetIOHDF5_iohdf5_cc);
}
@@ -463,7 +463,7 @@ namespace CarpetIOHDF5 {
min_ext[d] = origin[d] + cctk_lbnd[d] * delta[d];
max_ext[d] = origin[d] + cctk_ubnd[d] * delta[d];
}
- WriteAttribute (dataset, "origin", origin, dim);
+ WriteAttribute (dataset, "origin", min_ext, dim);
WriteAttribute (dataset, "delta", delta, dim);
WriteAttribute (dataset, "min_ext", min_ext, dim);
WriteAttribute (dataset, "max_ext", max_ext, dim);