handling the transition between injector and producer

This commit is contained in:
Kai Bao
2018-12-19 15:37:10 +01:00
parent 7e05d51e6f
commit 875626b738
5 changed files with 28 additions and 23 deletions

View File

@@ -773,7 +773,7 @@ namespace {
const std::string& cmode_string = whistctl_record.getItem("CMODE").getTrimmedString(0);
whistctl_cmode = Opm::WellProducer::ControlModeFromString(cmode_string);
}
Opm::WellProductionProperties hist = Opm::WellProductionProperties::history(prev_p, record, whistctl_cmode);;
Opm::WellProductionProperties hist = Opm::WellProductionProperties::history(prev_p, record, whistctl_cmode, false);;
return hist;
}