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
commit fd7c4e3d24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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