changed: unify MultisegmentWell::getMobility(Eval|Scalar)

This commit is contained in:
Arne Morten Kvarving
2023-05-07 21:56:09 +02:00
parent 35c56e4ce4
commit 5126097d7b
2 changed files with 33 additions and 79 deletions

View File

@@ -235,14 +235,10 @@ namespace Opm
DeferredLogger& deferred_logger);
// get the mobility for specific perforation
void getMobilityEval(const Simulator& ebosSimulator,
const int perf,
std::vector<EvalWell>& mob) const;
// get the mobility for specific perforation
void getMobilityScalar(const Simulator& ebosSimulator,
const int perf,
std::vector<Scalar>& mob) const;
template<class Value>
void getMobility(const Simulator& ebosSimulator,
const int perf,
std::vector<Value>& mob) const;
void computeWellRatesAtBhpLimit(const Simulator& ebosSimulator,
std::vector<double>& well_flux,