stricter tolerance for wells with zero rate target

for StandardWell only at this moment.
This commit is contained in:
Kai Bao
2023-03-30 15:49:27 +02:00
parent e9b372ff1c
commit 7c06ec38a3
6 changed files with 37 additions and 19 deletions

View File

@@ -96,10 +96,11 @@ namespace Opm
DeferredLogger& deferred_logger) const override;
/// check whether the well equations get converged for this well
virtual ConvergenceReport getWellConvergence(const WellState& well_state,
virtual ConvergenceReport getWellConvergence(const SummaryState& summary_state,
const WellState& well_state,
const std::vector<double>& B_avg,
DeferredLogger& deferred_logger,
const bool relax_tolerance = false) const override;
const bool relax_tolerance) const override;
/// Ax = Ax - C D^-1 B x
virtual void apply(const BVector& x, BVector& Ax) const override;