Merge pull request #3053 from totto82/fixBoundaryMPI

fix boundary face index on process boundaries
This commit is contained in:
Markus Blatt
2021-02-11 09:07:19 +01:00
committed by GitHub

View File

@@ -250,10 +250,12 @@ public:
continue;
}
if (!intersection.neighbor())
if (!intersection.neighbor()) {
// elements can be on process boundaries, i.e. they are not on the
// domain boundary yet they don't have neighbors.
++ boundaryIsIdx;
continue;
}
const auto& outsideElem = intersection.outside();
unsigned outsideElemIdx = elemMapper.index(outsideElem);