aboutsummaryrefslogtreecommitdiff
path: root/Carpet
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@cct.lsu.edu>2007-05-01 16:37:00 +0000
committerErik Schnetter <schnetter@cct.lsu.edu>2007-05-01 16:37:00 +0000
commitb0790e874a837c0b9d1f5b188d38551afd159ec3 (patch)
treeb597f503eb05d506fe04aa68e160240fd56b8d99 /Carpet
parente151547fd0da02fec6c8c0eeb18148b72427e085 (diff)
CarpetIOHDF5: Correct error in setting up gdata communication object
Set up gdata object correctly before copying it between processors. darcs-hash:20070501163757-dae7b-55cb3575d707f88806bff70f4cfc7153de879c1f.gz
Diffstat (limited to 'Carpet')
-rw-r--r--Carpet/CarpetIOHDF5/src/Output.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/Carpet/CarpetIOHDF5/src/Output.cc b/Carpet/CarpetIOHDF5/src/Output.cc
index 36932ff87..2e5795d09 100644
--- a/Carpet/CarpetIOHDF5/src/Output.cc
+++ b/Carpet/CarpetIOHDF5/src/Output.cc
@@ -8,6 +8,7 @@
#include "cctk_Parameters.h"
#include "util_Table.h"
+#include "operators.hh"
#include "CarpetIOHDF5.hh"
#include "CactusBase/IOUtil/src/ioGH.h"
@@ -331,7 +332,8 @@ int WriteVarChunkedSequential (const cGH* const cctkGH,
const ggf* ff = arrdata.at(gindex).at(Carpet::map).data.at(var);
const gdata* const data = (*ff) (request->timelevel, refinementlevel,
component, mglevel);
- gdata* const processor_component = data->make_typed (request->vindex);
+ gdata* const processor_component =
+ data->make_typed (request->vindex,error_centered, op_sync);
processor_component->allocate (bbox, 0);
for (comm_state state; not state.done(); state.step()) {