move updateWellStateWithTHPTargetProd to WellInterface

to share implementation between STW and MSW
This commit is contained in:
Arne Morten Kvarving
2023-05-12 11:57:48 +02:00
parent 06e9247887
commit 01c4aa1927
6 changed files with 45 additions and 69 deletions

View File

@@ -322,17 +322,13 @@ namespace Opm
void computeWellRatesWithBhpIterations(const Simulator& ebosSimulator,
const double& bhp,
std::vector<double>& well_flux,
DeferredLogger& deferred_logger) const;
DeferredLogger& deferred_logger) const override;
std::vector<double> computeWellPotentialWithTHP(
const Simulator& ebosSimulator,
DeferredLogger& deferred_logger,
const WellState &well_state) const;
bool updateWellStateWithTHPTargetProd(const Simulator& ebos_simulator,
WellState& well_state,
DeferredLogger& deferred_logger) const override;
virtual double getRefDensity() const override;
// get the mobility for specific perforation