mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-25 14:40:26 -05:00
Remove deprecated size_t overloads from RigActiveCellInfo
Migrate all callers to use type-safe ReservoirCellIndex and ActiveCellIndex wrappers, then remove the deprecated isActive(size_t), cellResultIndex(size_t), and setCellResultIndex(size_t, size_t) methods.
This commit is contained in:
1 parent
f9a081eb87
commit
a0dbbf6cb1
63 files changed
+134
-141
No files matched your search
@@ -562,7 +562,7 @@ void RigMainGrid::addUnNamedFaultFaces( int gcIdx,
|
||||
hostGrid = gridAndGridLocalIdxFromGlobalCellIdx( gcIdx, &gridLocalCellIndex );
|
||||
|
||||
hostGrid->ijkFromCellIndex( gridLocalCellIndex, &i, &j, &k );
|
||||
isCellActive = activeCellInfo->isActive( gcIdx );
|
||||
isCellActive = activeCellInfo->isActive( ReservoirCellIndex( gcIdx ) );
|
||||
|
||||
firstNO_FAULTFaceForCell = false;
|
||||
}
|
||||
@@ -578,7 +578,7 @@ void RigMainGrid::addUnNamedFaultFaces( int gcIdx,
|
||||
continue;
|
||||
}
|
||||
|
||||
bool isNeighborCellActive = activeCellInfo->isActive( neighborReservoirCellIdx );
|
||||
bool isNeighborCellActive = activeCellInfo->isActive( ReservoirCellIndex( neighborReservoirCellIdx ) );
|
||||
|
||||
double tolerance = 1e-6;
|
||||
|
||||
|
||||
Reference in new issue
Block a user