Stein Krogstad

Results 4 issues of Stein Krogstad

Several places in the code we check whether a well is set to inject/produce at zero rate since this case requires special treatment. This is currently done by the function...

Increasing default value of option _--maximum-number-of-well-switches_ from 3 to 10. Fixes a few problematic cases and otherwise do not seem to do any harm (performance-wise). Will break many tests, though...

**For testing** * add `initialize`-option to `updateWellStateWithTarget` : during iterations we should not _re-initialize_ well_state. * use more recent functionality to initialize well_state with thp-target

Continuing #5607 here due to vacation. Updates: - Increased default `maximum-number-of-well-switches` from 3 to 10 (see #5607) - Removed suggested update of control-log during local iterations. Keeping track of switches...