Skip to content
Snippets Groups Projects
Commit be4820e3 authored by Ansgar Burchardt's avatar Ansgar Burchardt Committed by Markus Blatt
Browse files

[uggrid] loadBalance: transfer element data

(cherry picked from commit 716d8c76)
parent e65d2afd
Branches
Tags
1 merge request!188[backport,uggrid] Allow transferring element data during loadbalance for 2.5
......@@ -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))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment