not updateWellControl for non-operable wells

This commit is contained in:
Kai Bao 2018-11-23 12:34:49 +01:00
parent eaa3ad19f5
commit 680c45b8f8

View File

@ -916,6 +916,9 @@ namespace Opm {
wellhelpers::WellSwitchingLogger logger;
for (const auto& well : well_container_) {
if ( !well->isOperable() ) continue;
well->updateWellControl(ebosSimulator_, well_state_, logger);
}