Make CellOwnerHandle available without MPI

and thus make compilation succeed in this case as using
it is perfectly find even if MPI is not there.
This commit is contained in:
Markus Blatt 2017-11-21 15:06:36 +01:00
parent e7688a2ca0
commit 9402f4bde1

View File

@ -119,7 +119,6 @@ private:
};
#if HAVE_OPM_GRID && HAVE_MPI
/// \brief Data handle for gathering the rank that owns a cell
template<class Mapper>
class CellOwnerDataHandle
@ -174,7 +173,7 @@ private:
const std::vector<int>& globalCell_;
};
#if HAVE_OPM_GRID && HAVE_MPI
/// \brief a data handle to distribute the threshold pressures
class ThresholdPressureDataHandle
{