mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-28 18:21:00 -06:00
Merge pull request #3778 from GitPaean/always_inner
[testing] always using inner iterations for testing purpose.
This commit is contained in:
commit
6f29bf715c
@ -479,7 +479,7 @@ namespace Opm
|
|||||||
|
|
||||||
// only use inner well iterations for the first newton iterations.
|
// only use inner well iterations for the first newton iterations.
|
||||||
const int iteration_idx = ebosSimulator.model().newtonMethod().numIterations();
|
const int iteration_idx = ebosSimulator.model().newtonMethod().numIterations();
|
||||||
if (iteration_idx < param_.max_niter_inner_well_iter_) {
|
if (iteration_idx < param_.max_niter_inner_well_iter_ || this->well_ecl_.isMultiSegment()) {
|
||||||
this->operability_status_.solvable = true;
|
this->operability_status_.solvable = true;
|
||||||
bool converged = this->iterateWellEquations(ebosSimulator, dt, well_state, group_state, deferred_logger);
|
bool converged = this->iterateWellEquations(ebosSimulator, dt, well_state, group_state, deferred_logger);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user