Commit be4820e3 authored by Ansgar Burchardt's avatar Ansgar Burchardt Committed by Markus Blatt

[uggrid] loadBalance: transfer element data

(cherry picked from commit 716d8c76)
parent e65d2afd
......@@ -487,7 +487,8 @@ namespace Dune {
{
#ifdef ModelP
// gather element data
// UGLBGatherScatter::template gather<0>(this->leafGridView(), dataHandle);
if (dataHandle.contains(dim, 0))
UGLBGatherScatter::template gather<0>(this->leafGridView(), dataHandle);
// gather node data
if (dataHandle.contains(dim,dim))
......@@ -500,7 +501,8 @@ namespace Dune {
#ifdef ModelP
// scatter element data
// UGLBGatherScatter::template scatter<0>(this->leafGridView(), dataHandle);
if (dataHandle.contains(dim, 0))
UGLBGatherScatter::template scatter<0>(this->leafGridView(), dataHandle);
// scatter node data
if (dataHandle.contains(dim,dim))
......
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