mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Work in progress
This commit is contained in:
@@ -236,10 +236,10 @@ void RifReaderOpmCommonActive::transferActiveGeometry( Opm::EclIO::EGrid& opmMa
|
||||
yCenterCoordOpm = yCenter;
|
||||
}
|
||||
|
||||
auto riReservoirIndex = activeGrid->cellIndexFromIJK( opmIJK[0], opmIJK[1], opmIJK[2] );
|
||||
RigCell& cell = activeGrid->cell( riReservoirIndex );
|
||||
auto nativeIndex = activeGrid->globalCellIndexToNative( riReservoirIndex );
|
||||
cell.setGridLocalCellIndex( riReservoirIndex );
|
||||
auto nativeIndex = activeGrid->cellIndexFromIJK( opmIJK[0], opmIJK[1], opmIJK[2] );
|
||||
RigCell& cell = activeGrid->nativeCell( nativeIndex );
|
||||
// auto globalIndex = activeGrid->nativeCellIndexToGlobal( nativeIndex );
|
||||
cell.setGridLocalCellIndex( nativeIndex );
|
||||
cell.setParentCellIndex( cvf::UNDEFINED_SIZE_T );
|
||||
|
||||
// corner coordinates
|
||||
|
||||
Reference in New Issue
Block a user