Commit a6d1324a authored by niklas.baumgarten's avatar niklas.baumgarten
Browse files

Merge branch 'Hack-For-ST-In-VtuPlot' into 'feature'

Hack for st in vtu plot

See merge request mpp/mpp!400
parents 996871ad d639942d
......@@ -210,9 +210,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