mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Skip temp. reporting of some rates if distributed non-owned wells.
In the end of the report each the report from these wells will come from another process, anyway.
This commit is contained in:
parent
472623d4a3
commit
c2f59b0629
@ -554,7 +554,8 @@ namespace Opm
|
|||||||
|
|
||||||
for( const auto& wt : this->wellMap() ) {
|
for( const auto& wt : this->wellMap() ) {
|
||||||
const auto w = wt.second[ 0 ];
|
const auto w = wt.second[ 0 ];
|
||||||
if (!this->open_for_output_[w])
|
const auto& pwinfo = *parallel_well_info_[w];
|
||||||
|
if (!this->open_for_output_[w] || !pwinfo.isOwner())
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
auto& well = res.at( wt.first );
|
auto& well = res.at( wt.first );
|
||||||
|
Loading…
Reference in New Issue
Block a user