mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-14 18:02:01 -05:00
Don't Initialize Well State for Shut Wells
This commit is contained in:
1 parent
4fd5d52f2f
commit
44eb07e621
1 file changed
+4
@@ -213,6 +213,10 @@ namespace Opm
|
||||
auto end = prevState->wellMap().end();
|
||||
for (int w = 0; w < nw; ++w) {
|
||||
const Well& well = wells_ecl[w];
|
||||
if (well.getStatus() == Well::Status::SHUT) {
|
||||
continue;
|
||||
}
|
||||
|
||||
auto it = prevState->wellMap().find(well.name());
|
||||
if ( it != end )
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user