adding function computeWellPotentials to StandardWell

for some similar reasons, this function stays in StandardWell for now.
Eventually, it should go to WellInterface with some refactoring work.
This commit is contained in:
Kai Bao
2017-07-24 15:09:44 +02:00
parent 1d34c9dc6e
commit e6d2b8550b
4 changed files with 55 additions and 51 deletions

View File

@@ -146,6 +146,10 @@ namespace Opm
virtual void applySolutionWellState(const BVector& x, const ModelParameters& param,
WellState& well_state) const;
virtual void computeWellPotentials(const Simulator& ebosSimulator,
const WellState& well_state,
std::vector<double>& well_potentials) const;
using WellInterface<TypeTag>::phaseUsage;
using WellInterface<TypeTag>::active;
using WellInterface<TypeTag>::numberOfPerforations;