introduce getMobility in WellInterface

we now share implementation between StandardWell and MultisegmentWell
This commit is contained in:
Arne Morten Kvarving
2023-05-12 10:02:05 +02:00
parent e406d2f0a1
commit 0406a033a2
5 changed files with 87 additions and 114 deletions

View File

@@ -329,14 +329,10 @@ public:
}
protected:
// simulation parameters
const ModelParameters& param_;
std::vector<RateVector> connectionRates_;
std::vector< Scalar > B_avg_;
bool changed_to_stopped_this_step_ = false;
double wpolymer() const;
@@ -394,6 +390,15 @@ protected:
Eval getPerfCellPressure(const FluidState& fs) const;
// get the mobility for specific perforation
template<class Value, class Callback>
void getMobility(const Simulator& ebosSimulator,
const int perf,
std::vector<Value>& mob,
Callback& extendEval,
[[maybe_unused]] DeferredLogger& deferred_logger) const;
};
}