fix boundary face index on process boundaries

This commit is contained in:
Tor Harald Sandve 2021-02-09 12:38:54 +01:00
parent 1af403c45d
commit c64dcacfec

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);