mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-14 17:32:13 -05:00
#3018 Fracture Truncation : Use reservoirCellIndex()
This commit is contained in:
1 parent
10d0c66262
commit
ff4efbc365
1 file changed
+1
-2
@@ -125,8 +125,7 @@ void RimFractureContainmentTools::checkFaultAndAppendNeighborCell(const std::set
|
||||
bool foundCell = hostGrid->cellIJKNeighbor(i, j, k, face, &neighborGridLocalCellIndex);
|
||||
CVF_ASSERT(foundCell);
|
||||
|
||||
neighborGlobalReservoirCellIndex =
|
||||
mainGrid->reservoirCellIndexByGridAndGridLocalCellIndex(hostGrid->gridIndex(), neighborGridLocalCellIndex);
|
||||
neighborGlobalReservoirCellIndex = hostGrid->reservoirCellIndex(neighborGridLocalCellIndex);
|
||||
}
|
||||
|
||||
double currentCellAvgZ = computeAverageZFromTwoDeepestZ(mainGrid, globalReservoirCellIndex, face);
|
||||
|
||||
Reference in new issue
Block a user