mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3485 Temp LGR. Removed commented code
This commit is contained in:
parent
9d90f54d5f
commit
1c7fd7fb96
@ -125,8 +125,6 @@ void RicCreateTemporaryLgrFeature::onActionTriggered(bool isChecked)
|
||||
lgrs = RicExportLgrFeature::buildOneLgrPerMainCell(eclipseCase, intersectingCells, lgrCellCounts);
|
||||
|
||||
auto mainGrid = eclipseCase->eclipseCaseData()->mainGrid();
|
||||
//activeCellInfo->setGridCount(mainGrid->gridCount() + lgrs.size());
|
||||
//fractureActiveCellInfo->setGridCount(mainGrid->gridCount() + lgrs.size());
|
||||
|
||||
for (auto lgr : lgrs)
|
||||
{
|
||||
@ -135,18 +133,11 @@ void RicCreateTemporaryLgrFeature::onActionTriggered(bool isChecked)
|
||||
createLgr(lgr, eclipseCase->eclipseCaseData()->mainGrid());
|
||||
|
||||
int lgrCellCount = lgr.cellCount();
|
||||
//activeCellInfo->setGridActiveCellCounts(lgr.id, lgrCellCount);
|
||||
//fractureActiveCellInfo->setGridActiveCellCounts(lgr.id, lgrCellCount);
|
||||
|
||||
//activeCellInfo->computeDerivedData();
|
||||
//fractureActiveCellInfo->computeDerivedData();
|
||||
|
||||
activeCellInfo->addLgr(totalCellCountBeforLgr, lgrCellCount);
|
||||
fractureActiveCellInfo->addLgr(totalCellCountBeforLgr, lgrCellCount);
|
||||
}
|
||||
|
||||
//activeCellInfo->setReservoirCellCount(mainGrid->globalCellArray().size());
|
||||
//for (int i = 0; i < mainGrid->globalCellArray().size(); i++) activeCellInfo->setCellResultIndex(i, i);
|
||||
mainGrid->calculateFaults(activeCellInfo, true);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user