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:
Kristian Bendiksen authored and Magne Sjaastad committed 2026-03-31 12:32:05 +02:00
1 parent f9a081eb87
commit a0dbbf6cb1
63 files changed
+134 -141

No files matched your search

@@ -254,10 +254,10 @@ RigGridBase* RicCreateTemporaryLgrFeature::createLgr( const LgrInfo& lgrInfo, Ri
auto gridCell = localGrid->cell( cellIndex );
if ( gridCell.parentCellIndex() != cvf::UNDEFINED_SIZE_T )
{
auto resultIndex = activeInfo->cellResultIndex( gridCell.parentCellIndex() );
if ( resultIndex != cvf::UNDEFINED_SIZE_T )
auto resultIndex = activeInfo->cellResultIndex( ReservoirCellIndex( gridCell.parentCellIndex() ) );
if ( resultIndex.value() != cvf::UNDEFINED_SIZE_T )
{
activeInfo->setCellResultIndex( cellIndex + mainGridCellCount, resultIndex );
activeInfo->setCellResultIndex( ReservoirCellIndex( cellIndex + mainGridCellCount ), resultIndex );
activeCellCount++;
}
}