Pass the initial inplace values to Summary::eval()

This commit is contained in:
Joakim Hove
2020-11-20 08:19:17 +01:00
parent 729da46fd5
commit e962374856
2 changed files with 8 additions and 0 deletions

View File

@@ -1866,6 +1866,10 @@ public:
const std::map<std::pair<std::string, int>, double>& getBlockData() const std::map<std::pair<std::string, int>, double>& getBlockData()
{ return blockData_; } { return blockData_; }
const Opm::Inplace& initialInplace() const {
return this->initialInplace_.value();
}
private: private:
bool isDefunctParallelWell(std::string wname) const bool isDefunctParallelWell(std::string wname) const
@@ -2309,6 +2313,9 @@ private:
|| (keyword == "SAVE") || (keyword == "SFREQ"); // Not really supported || (keyword == "SAVE") || (keyword == "SFREQ"); // Not really supported
} }
const Simulator& simulator_; const Simulator& simulator_;
bool outputFipRestart_; bool outputFipRestart_;

View File

@@ -322,6 +322,7 @@ public:
wellData, wellData,
groupAndNetworkData, groupAndNetworkData,
miscSummaryData, miscSummaryData,
eclOutputModule_.initialInplace(),
regionData, regionData,
blockData, blockData,
aquiferData); aquiferData);