mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-12 16:32:12 -05:00
#3554 Temprorary LGR : Do not add LGR if no active fracture cells
This commit is contained in:
1 parent
81ff5f70af
commit
829c3cd9aa
1 file changed
+4
-1
@@ -135,7 +135,10 @@ void RicCreateTemporaryLgrFeature::onActionTriggered(bool isChecked)
|
||||
size_t lgrCellCount = lgr.cellCount();
|
||||
|
||||
activeCellInfo->addLgr(lgrCellCount);
|
||||
fractureActiveCellInfo->addLgr(lgrCellCount);
|
||||
if (fractureActiveCellInfo->reservoirActiveCellCount() > 0)
|
||||
{
|
||||
fractureActiveCellInfo->addLgr(lgrCellCount);
|
||||
}
|
||||
}
|
||||
|
||||
mainGrid->calculateFaults(activeCellInfo, true);
|
||||
|
||||
Reference in new issue
Block a user