mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
using tolerance_wells_ for BHP control tolerance for MSW
This commit is contained in:
parent
28f0274fb5
commit
080e840f2f
@ -2267,6 +2267,8 @@ namespace Opm
|
|||||||
double control_tolerance = 0.;
|
double control_tolerance = 0.;
|
||||||
switch(well_controls_get_current_type(well_controls_) ) {
|
switch(well_controls_get_current_type(well_controls_) ) {
|
||||||
case BHP:
|
case BHP:
|
||||||
|
control_tolerance = param_.tolerance_wells_;
|
||||||
|
break;
|
||||||
case THP:
|
case THP:
|
||||||
control_tolerance = param_.tolerance_pressure_ms_wells_;
|
control_tolerance = param_.tolerance_pressure_ms_wells_;
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user