Skip to content

Commit

Permalink
patchkernel: remove unneded code
Browse files Browse the repository at this point in the history
Dirty-adjacencies flag will be unset when received cells are linked
with initial cells.
  • Loading branch information
andrea-iob committed Jun 9, 2021
1 parent 4218995 commit 861fd12
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/patchkernel/patch_kernel_parallel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3215,11 +3215,6 @@ std::vector<adaption::Info> PatchKernel::_partitioningAlter_receiveCells(const s
}
}
}

// Cell adjacencies are up-to-date
if (duplicateCellsReceivedAdjacencies.count(cellId)) {
unsetCellAlterationFlags(cellId, FLAG_ADJACENCIES_DIRTY);
}
}

// Link received cells with the initial cells
Expand Down

0 comments on commit 861fd12

Please sign in to comment.