mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Summary observed data
* #9966 Summary calculations: add support for imported vectors. * #9966 Summary Calculation: add support for imported and observed data. * Summary Address: avoid extra level in tree for imported data. * #9966 Update observed data when calculation is updated.
This commit is contained in:
committed by
GitHub
parent
26416c8937
commit
245d483036
@@ -24,6 +24,7 @@
|
||||
#include "RifEclipseSummaryAddress.h"
|
||||
|
||||
#include "RimMainPlotCollection.h"
|
||||
#include "RimObservedDataCollection.h"
|
||||
#include "RimOilField.h"
|
||||
#include "RimProject.h"
|
||||
#include "RimSummaryAddress.h"
|
||||
@@ -81,6 +82,15 @@ RimSummaryCaseMainCollection* RiaSummaryTools::summaryCaseMainCollection()
|
||||
return summaryCaseMainCollection;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimObservedDataCollection* RiaSummaryTools::observedDataCollection()
|
||||
{
|
||||
RimProject* project = RimProject::current();
|
||||
return project->activeOilField()->observedDataCollection();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
/// Update the summary curves referencing this curve, as the curve is identified by the name
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
@@ -19,6 +19,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "RiaDateTimeDefines.h"
|
||||
#include "RimObservedDataCollection.h"
|
||||
|
||||
#include <QString>
|
||||
|
||||
@@ -32,6 +33,7 @@ class RimSummaryCrossPlotCollection;
|
||||
class RimSummaryCaseMainCollection;
|
||||
class RimSummaryCase;
|
||||
class RimSummaryCaseCollection;
|
||||
class RimObservedDataCollection;
|
||||
|
||||
class RifEclipseSummaryAddress;
|
||||
|
||||
@@ -52,6 +54,7 @@ public:
|
||||
static RimSummaryCrossPlotCollection* summaryCrossPlotCollection();
|
||||
static RimSummaryCaseMainCollection* summaryCaseMainCollection();
|
||||
static RimSummaryMultiPlotCollection* summaryMultiPlotCollection();
|
||||
static RimObservedDataCollection* observedDataCollection();
|
||||
|
||||
static std::vector<RimSummaryCase*> singleTopLevelSummaryCases();
|
||||
|
||||
|
Reference in New Issue
Block a user