mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-18 13:33:28 -06:00
Merge pull request #922 from blattms/return_mask_for_updateOwnerMask
Return a constant reference to the mask for ParallelISTLInformation::updateOwnerMask
This commit is contained in:
commit
5f9d361c03
@ -160,7 +160,7 @@ public:
|
||||
communicator.free();
|
||||
}
|
||||
template<class T>
|
||||
void updateOwnerMask(const T& container) const
|
||||
const std::vector<double>& updateOwnerMask(const T& container) const
|
||||
{
|
||||
if( ! indexSet_ )
|
||||
{
|
||||
@ -177,6 +177,7 @@ public:
|
||||
}
|
||||
}
|
||||
}
|
||||
return ownerMask_;
|
||||
}
|
||||
/// \brief Compute one or more global reductions.
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user