mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Add well target generator cases to RimProject::allCases.
This commit is contained in:
@@ -102,6 +102,7 @@
|
||||
#include "RimWellPath.h"
|
||||
#include "RimWellPathCollection.h"
|
||||
|
||||
#include "RimWellTargetCandidatesGenerator.h"
|
||||
#include "VerticalFlowPerformance/RimVfpDataCollection.h"
|
||||
#include "VerticalFlowPerformance/RimVfpPlotCollection.h"
|
||||
|
||||
@@ -605,6 +606,11 @@ std::vector<RimCase*> RimProject::allGridCases() const
|
||||
{
|
||||
cases.push_back( acase );
|
||||
}
|
||||
|
||||
for ( RimWellTargetCandidatesGenerator* generator : ensemble->wellTargetsGenerators() )
|
||||
{
|
||||
if ( auto ensembleStatisticsCase = generator->ensembleStatisticsCase() ) cases.push_back( ensembleStatisticsCase );
|
||||
}
|
||||
}
|
||||
|
||||
RimGeoMechModels* geomModels = oilField->geoMechModels();
|
||||
|
||||
Reference in New Issue
Block a user