From 93c7ba6b9267f79adbf0bf7581353d984fdea5ce Mon Sep 17 00:00:00 2001 From: Tor Harald Sandve Date: Tue, 26 Oct 2021 11:02:29 +0200 Subject: [PATCH] communicate inj_surface_rates --- opm/simulators/wells/GroupState.cpp | 1 + opm/simulators/wells/GroupState.hpp | 1 + 2 files changed, 2 insertions(+) diff --git a/opm/simulators/wells/GroupState.cpp b/opm/simulators/wells/GroupState.cpp index ae7be4672..b85186235 100644 --- a/opm/simulators/wells/GroupState.cpp +++ b/opm/simulators/wells/GroupState.cpp @@ -38,6 +38,7 @@ bool GroupState::operator==(const GroupState& other) const { this->inj_potentials == other.inj_potentials && this->inj_rein_rates == other.inj_rein_rates && this->inj_vrep_rate == other.inj_vrep_rate && + this->inj_surface_rates == other.inj_surface_rates && this->m_grat_sales_target == other.m_grat_sales_target && this->injection_controls == other.injection_controls; } diff --git a/opm/simulators/wells/GroupState.hpp b/opm/simulators/wells/GroupState.hpp index 2c53e618b..525265cc9 100644 --- a/opm/simulators/wells/GroupState.hpp +++ b/opm/simulators/wells/GroupState.hpp @@ -112,6 +112,7 @@ public: iterateContainer(inj_red_rates, func); iterateContainer(inj_resv_rates, func); iterateContainer(inj_rein_rates, func); + iterateContainer(inj_surface_rates, func); }; // Compute the size of the data.