From afaa3c5669ac9b3c6dc9198bded64abfb07825f3 Mon Sep 17 00:00:00 2001 From: Anders Matheson Date: Tue, 20 Sep 2016 09:41:20 +0200 Subject: [PATCH] Pass PhaseUsage to WellState::report --- opm/core/simulator/WellState.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/opm/core/simulator/WellState.hpp b/opm/core/simulator/WellState.hpp index 7fc82cc12..197a8226f 100644 --- a/opm/core/simulator/WellState.hpp +++ b/opm/core/simulator/WellState.hpp @@ -34,6 +34,7 @@ namespace Opm { + class PhaseUsage; /// The state of a set of wells. class WellState @@ -212,7 +213,7 @@ namespace Opm return wellRates().size() / numWells(); } - virtual data::Wells report() const + virtual data::Wells report(const PhaseUsage &pu) const { return { { /* WellState offers no completion data, so that has to be added later */ }, this->bhp(),