mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-28 02:00:59 -06:00
Merge pull request #2996 from totto82/outputStoppedWells
output stopped wells
This commit is contained in:
commit
a657f2371a
@ -244,7 +244,7 @@ namespace Opm
|
||||
data::Wells dw;
|
||||
for( const auto& itr : this->wellMap_ ) {
|
||||
const auto well_index = itr.second[ 0 ];
|
||||
if (this->status_[well_index] != Well::Status::OPEN)
|
||||
if (this->status_[well_index] == Well::Status::SHUT)
|
||||
continue;
|
||||
|
||||
const auto& pwinfo = *parallel_well_info_[well_index];
|
||||
|
@ -569,7 +569,7 @@ namespace Opm
|
||||
for( const auto& wt : this->wellMap() ) {
|
||||
const auto w = wt.second[ 0 ];
|
||||
const auto& pwinfo = *parallel_well_info_[w];
|
||||
if ((this->status_[w] != Well::Status::OPEN) || !pwinfo.isOwner())
|
||||
if ((this->status_[w] == Well::Status::SHUT) || !pwinfo.isOwner())
|
||||
continue;
|
||||
|
||||
auto& well = res.at( wt.first );
|
||||
|
Loading…
Reference in New Issue
Block a user