#2659 Ensemble statistics. First version

This commit is contained in:
Bjørn Erik Jensen
2018-06-07 10:02:54 +02:00
parent b73c8e0565
commit 69accdc4c6
10 changed files with 632 additions and 7 deletions

View File

@@ -76,6 +76,14 @@ std::vector<double>& RigTimeHistoryCurveMerger::interpolatedCurveValuesForAllTim
return m_interpolatedValuesForAllCurves[curveIdx];
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
int RigTimeHistoryCurveMerger::interploatedCurveCount() const
{
return static_cast<int>(m_interpolatedValuesForAllCurves.size());
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------

View File

@@ -40,6 +40,7 @@ public:
RigCurveDataTools::CurveIntervals validIntervalsForAllTimeSteps() const;
const std::vector<time_t>& allTimeSteps() const;
const std::vector<double>& interpolatedCurveValuesForAllTimeSteps(size_t curveIdx) const;
int interploatedCurveCount() const;
// Non-const access is not required by any clients, but the expression parser has no available const interface
// for specifying a data source for an expression variable. Allow non-const access to avoid copy of the contained