mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-18 13:33:28 -06:00
Make ParallelIstlInformation::ownerMask_ accessible.
This is needed in opm-simulator to calculate the parallel euclidian product of the saturations.
This commit is contained in:
parent
ec3d7e7702
commit
7762974354
@ -179,6 +179,17 @@ public:
|
|||||||
}
|
}
|
||||||
return ownerMask_;
|
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.
|
/// \brief Compute one or more global reductions.
|
||||||
///
|
///
|
||||||
/// This function can either be used with a container, an operator, and an initial value
|
/// This function can either be used with a container, an operator, and an initial value
|
||||||
|
Loading…
Reference in New Issue
Block a user