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:
Markus Blatt 2020-11-12 14:18:38 +01:00
parent 472623d4a3
commit c2f59b0629

View File

@ -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 );