Changes to make ms wells work with cprw

This commit is contained in:
hnil authored and Atgeirr Flø Rasmussen committed 2022-06-08 17:03:27 +02:00
1 parent 141a816e5d
commit a8acd40f4a
9 files changed
+245 -63

No files matched your search

+6 -2
View File
@@ -182,9 +182,13 @@ namespace Opm
virtual void addWellContributions(SparseMatrixAdapter& mat) const override;
virtual void addWellPressureEquationsStruct(PressureMatrix& mat) const override;
// virtual void addWellPressureEquationsStruct(PressureMatrix& mat) const override;
virtual void addWellPressureEquations(PressureMatrix& mat, const BVector& x,const int pressureVarIndex) const override;
virtual void addWellPressureEquations(PressureMatrix& mat,
const BVector& x,
const int pressureVarIndex,
const bool use_well_weights,
const WellState& well_state) const override;
// iterate well equations with the specified control until converged
bool iterateWellEqWithControl(const Simulator& ebosSimulator,