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;