using tolerance_wells_ for BHP control tolerance for MSW

This commit is contained in:
Kai Bao 2019-05-16 12:20:35 +02:00
parent 28f0274fb5
commit 080e840f2f

View File

@ -2267,6 +2267,8 @@ namespace Opm
double control_tolerance = 0.;
switch(well_controls_get_current_type(well_controls_) ) {
case BHP:
control_tolerance = param_.tolerance_wells_;
break;
case THP:
control_tolerance = param_.tolerance_pressure_ms_wells_;
break;