mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Improve filtering by 3D view for Producer/Injector Connectivity Table (#10027)
- Calculate by visible cells: Calculate flow diag by use of visible cells in 3D view (already existing functionality). - Filter producers: select producer wells based on visibility in 3D view. Synch connected injectors - even if they are not visible in 3D view. - Filter injectors: select injector wells based on visibility in 3D view. Synch connected producers - even if they are not visible in 3D view.
This commit is contained in:
@@ -219,7 +219,7 @@ void RimSimWellInView::wellHeadTopBottomPosition( int frameIndex, cvf::Vec3d* to
|
||||
}
|
||||
else
|
||||
{
|
||||
wellResultFramePtr = this->simWellData()->staticWellCells();
|
||||
wellResultFramePtr = this->simWellData()->staticWellResultFrame();
|
||||
whCellPtr = &( rigReservoir->cellFromWellResultCell( wellResultFramePtr->wellHeadOrStartCell() ) );
|
||||
}
|
||||
|
||||
@@ -389,7 +389,7 @@ bool RimSimWellInView::intersectsStaticWellCellsFilteredCells() const
|
||||
if ( this->simWellData() == nullptr ) return false;
|
||||
|
||||
// NOTE: Read out static well cells, union of well cells across all time steps
|
||||
const RigWellResultFrame* wrsf = this->simWellData()->staticWellCells();
|
||||
const RigWellResultFrame* wrsf = this->simWellData()->staticWellResultFrame();
|
||||
|
||||
// NOTE: Use first time step for visibility evaluation
|
||||
size_t frameIndex = 0;
|
||||
|
||||
Reference in New Issue
Block a user