Introduce WellState::stopWell()

This commit is contained in:
Joakim Hove
2020-12-10 09:54:37 +01:00
parent bd3fa0af88
commit f5f3d8a98e
3 changed files with 10 additions and 2 deletions

View File

@@ -748,7 +748,7 @@ namespace Opm {
continue;
} else {
// stopped wells are added to the container but marked as stopped
well_state_.thp()[w] = 0.;
well_state_.stopWell(w);
wellIsStopped = true;
}
}
@@ -795,7 +795,7 @@ namespace Opm {
}
if (well_status == Well::Status::STOP) {
well_state_.thp()[w] = 0.;
well_state_.stopWell(w);
wellIsStopped = true;
}