mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Grid Case Statistics: Show well data from first realization
This commit is contained in:
@@ -429,6 +429,13 @@ RimEclipseStatisticsCase* RimIdenticalGridCaseGroup::createStatisticsCase( bool
|
||||
|
||||
if ( selectDefaultResults ) newStatisticsCase->populateResultSelectionAfterLoadingGrid();
|
||||
|
||||
auto reservoirs = caseCollection->reservoirs().childrenByType();
|
||||
if ( !reservoirs.empty() )
|
||||
{
|
||||
auto caseDescription = reservoirs.front()->caseUserDescription();
|
||||
newStatisticsCase->setWellDataSourceCase( caseDescription );
|
||||
}
|
||||
|
||||
newStatisticsCase->openEclipseGridFile();
|
||||
newStatisticsCase->computeActiveCellsBoundingBox();
|
||||
newStatisticsCase->selectAllTimeSteps();
|
||||
|
||||
Reference in New Issue
Block a user