mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #3053 from totto82/fixBoundaryMPI
fix boundary face index on process boundaries
This commit is contained in:
commit
fd7c4e3d24
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user