From a36b44dbdf64ee2c8e0f87cdd276d23412e42f40 Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Mon, 18 Nov 2024 10:57:44 +0100 Subject: [PATCH] getPrimaryVars: move to WellInterfaceGeneric --- opm/simulators/wells/WellInterface.hpp | 5 ----- opm/simulators/wells/WellInterfaceGeneric.hpp | 6 ++++++ 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/opm/simulators/wells/WellInterface.hpp b/opm/simulators/wells/WellInterface.hpp index 9ed3c7a1d..545eb6380 100644 --- a/opm/simulators/wells/WellInterface.hpp +++ b/opm/simulators/wells/WellInterface.hpp @@ -358,11 +358,6 @@ public: return connectionRates_; } - virtual std::vector getPrimaryVars() const - { - return {}; - } - virtual int setPrimaryVars(typename std::vector::const_iterator) { return 0; diff --git a/opm/simulators/wells/WellInterfaceGeneric.hpp b/opm/simulators/wells/WellInterfaceGeneric.hpp index b1268847b..bc7186649 100644 --- a/opm/simulators/wells/WellInterfaceGeneric.hpp +++ b/opm/simulators/wells/WellInterfaceGeneric.hpp @@ -189,6 +189,12 @@ public: void resetWellOperability(); + + virtual std::vector getPrimaryVars() const + { + return {}; + } + protected: bool getAllowCrossFlow() const;