move computeConnLevel(Inj|Prod)Ind to WellInterface

now code is shared between STW and MSW
This commit is contained in:
Arne Morten Kvarving
2023-05-12 15:29:53 +02:00
parent c234d4faa5
commit 7b33cc6d62
6 changed files with 80 additions and 181 deletions

View File

@@ -414,7 +414,17 @@ protected:
Callback& extendEval,
[[maybe_unused]] DeferredLogger& deferred_logger) const;
void computeConnLevelProdInd(const FluidState& fs,
const std::function<double(const double)>& connPICalc,
const std::vector<Scalar>& mobility,
double* connPI) const;
void computeConnLevelInjInd(const FluidState& fs,
const Phase preferred_phase,
const std::function<double(const double)>& connIICalc,
const std::vector<Scalar>& mobility,
double* connII,
DeferredLogger& deferred_logger) const;
};
}