Merge pull request #1029 from blattms/make-ownermask-accessible

Make ParallelIstlInformation::ownerMask_ accessible.
This commit is contained in:
Atgeirr Flø Rasmussen 2016-06-15 15:08:58 +02:00 committed by GitHub
commit 8f2e2c91b1

View File

@ -179,6 +179,17 @@ public:
}
return ownerMask_;
}
/// \brief Get the owner Mask.
///
/// \return A vector with entries 0, and 1. 0 marks an index that we cannot
/// compute correct results for. 1 marks an index that this process
/// is responsible for and computes correct results in parallel.
const std::vector<double>& getOwnerMask() const
{
return ownerMask_;
}
/// \brief Compute one or more global reductions.
///
/// This function can either be used with a container, an operator, and an initial value