mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-25 06:38:13 -05:00
Well target updates (#14619)
Support well target mapping calculations for ensembles.
This commit is contained in:
19 files changed
+248
-81
No files matched your search
@@ -64,6 +64,7 @@
|
||||
#include "RimCellFilterCollection.h"
|
||||
#include "RimCommandRouter.h"
|
||||
#include "RimCompletionTemplateCollection.h"
|
||||
#include "RimEclipseCase.h"
|
||||
#include "RimEclipseCaseCollection.h"
|
||||
#include "RimEclipseCaseEnsemble.h"
|
||||
#include "RimEclipseView.h"
|
||||
@@ -115,6 +116,7 @@
|
||||
#include "RimWellPath.h"
|
||||
#include "RimWellPathCollection.h"
|
||||
#include "RimWellPathFracture.h"
|
||||
#include "RimWellTargetMapping.h"
|
||||
#include "VerticalFlowPerformance/RimVfpDataCollection.h"
|
||||
#include "VerticalFlowPerformance/RimVfpPlotCollection.h"
|
||||
|
||||
@@ -865,6 +867,15 @@ bool RiaApplication::loadProject( const QString& projectFileName, ProjectLoadAct
|
||||
{
|
||||
view->loadDataAndUpdate();
|
||||
}
|
||||
|
||||
for ( auto wellTargetMapping : gridEnsemble->wellTargetMappings() )
|
||||
{
|
||||
if ( !wellTargetMapping->ensembleStatisticsCase() ) continue;
|
||||
for ( auto view : wellTargetMapping->ensembleStatisticsCase()->views() )
|
||||
{
|
||||
view->loadDataAndUpdate();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user