mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3554 Temprorary LGR : Do not add LGR if no active fracture cells
This commit is contained in:
parent
81ff5f70af
commit
829c3cd9aa
@ -135,7 +135,10 @@ void RicCreateTemporaryLgrFeature::onActionTriggered(bool isChecked)
|
|||||||
size_t lgrCellCount = lgr.cellCount();
|
size_t lgrCellCount = lgr.cellCount();
|
||||||
|
|
||||||
activeCellInfo->addLgr(lgrCellCount);
|
activeCellInfo->addLgr(lgrCellCount);
|
||||||
fractureActiveCellInfo->addLgr(lgrCellCount);
|
if (fractureActiveCellInfo->reservoirActiveCellCount() > 0)
|
||||||
|
{
|
||||||
|
fractureActiveCellInfo->addLgr(lgrCellCount);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
mainGrid->calculateFaults(activeCellInfo, true);
|
mainGrid->calculateFaults(activeCellInfo, true);
|
||||||
|
Loading…
Reference in New Issue
Block a user