mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Add optional IJK to ResultPoint for easier debugging
This commit is contained in:
@@ -1243,6 +1243,12 @@ RigWellResultPoint RifReaderEclipseOutput::createWellResultPoint( const RigGridB
|
||||
resultPoint.setFlowData( volumeRate, oilRate, adjustedGasRate, waterRate );
|
||||
|
||||
resultPoint.setConnectionFactor( connectionFactor );
|
||||
|
||||
auto ijkOneBased = grid->ijkFromCellIndexOneBased( gridCellIndex );
|
||||
if ( ijkOneBased )
|
||||
{
|
||||
resultPoint.setIjk( *ijkOneBased );
|
||||
}
|
||||
}
|
||||
|
||||
return resultPoint;
|
||||
|
||||
Reference in New Issue
Block a user