mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3018 Fracture Truncation : Use reservoirCellIndex()
This commit is contained in:
parent
10d0c66262
commit
ff4efbc365
@ -125,8 +125,7 @@ void RimFractureContainmentTools::checkFaultAndAppendNeighborCell(const std::set
|
|||||||
bool foundCell = hostGrid->cellIJKNeighbor(i, j, k, face, &neighborGridLocalCellIndex);
|
bool foundCell = hostGrid->cellIJKNeighbor(i, j, k, face, &neighborGridLocalCellIndex);
|
||||||
CVF_ASSERT(foundCell);
|
CVF_ASSERT(foundCell);
|
||||||
|
|
||||||
neighborGlobalReservoirCellIndex =
|
neighborGlobalReservoirCellIndex = hostGrid->reservoirCellIndex(neighborGridLocalCellIndex);
|
||||||
mainGrid->reservoirCellIndexByGridAndGridLocalCellIndex(hostGrid->gridIndex(), neighborGridLocalCellIndex);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
double currentCellAvgZ = computeAverageZFromTwoDeepestZ(mainGrid, globalReservoirCellIndex, face);
|
double currentCellAvgZ = computeAverageZFromTwoDeepestZ(mainGrid, globalReservoirCellIndex, face);
|
||||||
|
Loading…
Reference in New Issue
Block a user