mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#4638 Dual porosity : Make sure geometry is regenerated when switching between matrix/fracture
This commit is contained in:
parent
47eeed4a11
commit
a53f1e1e91
@ -306,6 +306,15 @@ void RimEclipseResultDefinition::fieldChangedByUi( const caf::PdmFieldHandle* ch
|
||||
{
|
||||
m_porosityModel = m_porosityModelUiField;
|
||||
m_resultVariableUiField = resultVariable();
|
||||
|
||||
RimEclipseView* eclipseView = nullptr;
|
||||
this->firstAncestorOrThisOfType( eclipseView );
|
||||
if ( eclipseView )
|
||||
{
|
||||
// Active cells can be different between matrix and fracture, make sure all geometry is recreated
|
||||
eclipseView->scheduleReservoirGridGeometryRegen();
|
||||
}
|
||||
|
||||
loadDataAndUpdate();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user