From 57f7650228e31448c63d4883e4f025cc5bbd07c5 Mon Sep 17 00:00:00 2001 From: Kai Bao Date: Wed, 15 Mar 2017 15:20:25 +0100 Subject: [PATCH] adding a function computeWellPotentials for StandardWellsDense for each well. It is a temporay approach for testing without breaking any compilation before changing the interface for WellsManager. --- opm/autodiff/StandardWellsDense.hpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/opm/autodiff/StandardWellsDense.hpp b/opm/autodiff/StandardWellsDense.hpp index c4a185ca2..38f769025 100644 --- a/opm/autodiff/StandardWellsDense.hpp +++ b/opm/autodiff/StandardWellsDense.hpp @@ -251,6 +251,11 @@ enum WellVariablePositions { computeWellPotentials(const Simulator& ebosSimulator, WellState& well_state) const; + + // TODO: temporary function name for now before changing the simulator and also WellsMananger + void computeWellPotentials(const WellState& well_state, + std::vector& well_potentials) const; + WellCollection* wellCollection() const; const std::vector&