mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Don't Initialize Well State for Shut Wells
This commit is contained in:
committed by
Bård Skaflestad
parent
4fd5d52f2f
commit
44eb07e621
@@ -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