mirror of
https://github.com/OPM/ResInsight.git
synced 2026-11-30 17:42:13 -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:
1 parent
2509977e5a
commit
c40b400346
13 files changed
+240
-46
No files matched your search
@@ -64,6 +64,7 @@ CAF_PDM_XML_ABSTRACT_SOURCE_INIT( RimGridView, "GenericGridView" ); // Do not us
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimGridView::RimGridView()
|
||||
: cellVisibilityChanged( this )
|
||||
{
|
||||
CAF_PDM_InitFieldNoDefault( &m_overrideCellFilterCollection, "CellFiltersControlled", "Cell Filters (controlled)" );
|
||||
m_overrideCellFilterCollection.uiCapability()->setUiTreeHidden( true );
|
||||
@@ -138,6 +139,7 @@ cvf::ref<cvf::UByteArray> RimGridView::currentTotalCellVisibility()
|
||||
{
|
||||
m_currentReservoirCellVisibility = new cvf::UByteArray;
|
||||
this->calculateCurrentTotalCellVisibility( m_currentReservoirCellVisibility.p(), m_currentTimeStep() );
|
||||
this->cellVisibilityChanged.send();
|
||||
}
|
||||
|
||||
return m_currentReservoirCellVisibility;
|
||||
|
||||
Reference in new issue
Block a user