use relaxed tolerance for MSW when solution stagnates

This commit is contained in:
Tor Harald Sandve
2020-05-12 12:05:30 +02:00
parent 55b3a65230
commit cf702a5384
5 changed files with 35 additions and 19 deletions

View File

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