mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Avoid setWsolvent call for wells shut by WCYCLE (assertion failure, at best)
This commit is contained in:
parent
b82616adcc
commit
d7d83c4f45
@ -1017,8 +1017,7 @@ setWsolvent(const Group& group,
|
||||
}
|
||||
|
||||
for (const std::string& wellName : group.wells()) {
|
||||
const auto& wellTmp = schedule_.getWell(wellName, reportStepIdx);
|
||||
if (wellTmp.getStatus() == Well::Status::SHUT)
|
||||
if (! hasOpenLocalWell(wellName))
|
||||
continue;
|
||||
|
||||
getGenWell(wellName)->setWsolvent(wsolvent);
|
||||
|
Loading…
Reference in New Issue
Block a user