mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-11-02 09:16:07 -06:00
Do not re-initialize stopped wells.
This commit is contained in:
1 parent
463dfcf193
commit
272fb2051f
1 file changed
+1
-1
@@ -435,7 +435,7 @@ namespace Opm {
|
||||
// This is done only for producers, as injectors will only have a single
|
||||
// nonzero phase anyway.
|
||||
for (const auto& well : well_container_) {
|
||||
if (well->isProducer()) {
|
||||
if (well->isProducer() && !well->wellIsStopped()) {
|
||||
well->initializeProducerWellState(simulator_, this->wellState(), local_deferredLogger);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user