Skip to content
Snippets Groups Projects
Commit 716d8c76 authored by Ansgar Burchardt's avatar Ansgar Burchardt
Browse files

[uggrid] loadBalance: transfer element data

parent e14927db
No related branches found
No related tags found
1 merge request!172[uggrid] Support for transferring element data during load balancing
......@@ -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.
Finish editing this message first!
Please register or to comment