Refactor case difference calculation into a static method

To reuse in Analysis Plots
This commit is contained in:
Jacob Støren
2020-02-27 08:56:47 +01:00
committed by Magne Sjaastad
parent 98410215e7
commit 8cd25b0111
2 changed files with 42 additions and 20 deletions

View File

@@ -60,6 +60,12 @@ public:
void calculate( const RifEclipseSummaryAddress& address );
static std::pair<std::vector<time_t>, std::vector<double>>
calculateDerivedValues( RifSummaryReaderInterface* reader1,
RifSummaryReaderInterface* reader2,
DerivedSummaryOperator m_operator,
const RifEclipseSummaryAddress& address );
void createSummaryReaderInterface() override;
RifSummaryReaderInterface* summaryReader() override;
void updateFilePathsFromProjectPath( const QString& newProjectPath, const QString& oldProjectPath ) override;