mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-12 08:25:03 -05:00
#11088 Use non-optimized version for old projects to compute active cells BB
The performance to compute geometry BB for active cells has improved. The original code also set displayModelOffset based on the BB of active cells. To make sure that existing project files produce identically the the same, the non-optimized version is used in this case.
This commit is contained in:
1 parent
111eeb64b7
commit
5151717743
8 files changed
+97
-13
No files matched your search
@@ -247,7 +247,7 @@ void RimIdenticalGridCaseGroup::loadMainCaseAndActiveCellInfo()
|
||||
|
||||
if ( i == 0 )
|
||||
{
|
||||
rimReservoir->eclipseCaseData()->computeActiveCellBoundingBoxes();
|
||||
rimReservoir->computeActiveCellsBoundingBox();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -375,7 +375,7 @@ void RimIdenticalGridCaseGroup::updateMainGridAndActiveCellsForStatisticsCases()
|
||||
|
||||
if ( i == 0 )
|
||||
{
|
||||
rimStaticsCase->eclipseCaseData()->computeActiveCellBoundingBoxes();
|
||||
rimStaticsCase->computeActiveCellsBoundingBox();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -432,7 +432,7 @@ RimEclipseStatisticsCase* RimIdenticalGridCaseGroup::createStatisticsCase( bool
|
||||
if ( selectDefaultResults ) newStatisticsCase->populateResultSelectionAfterLoadingGrid();
|
||||
|
||||
newStatisticsCase->openEclipseGridFile();
|
||||
newStatisticsCase->eclipseCaseData()->computeActiveCellBoundingBoxes();
|
||||
newStatisticsCase->computeActiveCellsBoundingBox();
|
||||
newStatisticsCase->selectAllTimeSteps();
|
||||
|
||||
return newStatisticsCase;
|
||||
|
||||
Reference in new issue
Block a user