Commit 6d9a4c74 authored by niklas.baumgarten's avatar niklas.baumgarten
Browse files

[Hack-For-ST-In-VtuPlot] hack for st

parent fa34b96d
......@@ -192,9 +192,11 @@ void VtuPlot::checkMesh(const Mesh &other) {
void VtuPlot::initPoints(const Mesh &init) {
// == Send Points to Master Proc ==
ExchangeBuffer exBuffer(init.CommSplit());
for (vertex v = init.vertices(); v != init.vertices_end(); ++v)
if (init.procSets.master(v()))
exBuffer.Send(0) << v();
for (vertex v = init.vertices(); v != init.vertices_end(); ++v) {
// Todo remove this hack! ST code has probably wrong procsets
if (init.procSets.master(v()) || init.IsSTMesh())
exBuffer.Send(0) << v();
}
exBuffer.Communicate();
// == Receive Points and insert into plot ==
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment