mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-05 22:13:00 -06:00
fix boundary face index on process boundaries
This commit is contained in:
parent
1af403c45d
commit
c64dcacfec
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user