mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Introduce WellState::stopWell()
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user