Skip to content

Commit

Permalink
xxx local balance only on first ghost layer
Browse files Browse the repository at this point in the history
  • Loading branch information
andrea-iob committed Sep 1, 2022
1 parent 9da552c commit 2e8a6d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/PABLO/LocalTree.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1966,8 +1966,8 @@ namespace bitpit {
// internal octants.
if (doGhost) {
for (Octant &octant : m_ghosts){
// Only ghost of first layer can affect load balance
if (octant.getGhostLayer() > 1) {
// Only ghosts of the first layer can affect load balance
if (octant.getGhostLayer() > 0) {
continue;
}

Expand Down

0 comments on commit 2e8a6d5

Please sign in to comment.