From a0481039dbb788b357238907ace2baedbe7129fd Mon Sep 17 00:00:00 2001 From: Andreas Lauser Date: Tue, 6 Dec 2016 19:39:06 +0100 Subject: [PATCH] ebos: add the disabled well names kluge to the grid manager this array is only non-empty for parallel runs. --- ebos/eclbasegridmanager.hh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/ebos/eclbasegridmanager.hh b/ebos/eclbasegridmanager.hh index 2e1d95398..f13f9a294 100644 --- a/ebos/eclbasegridmanager.hh +++ b/ebos/eclbasegridmanager.hh @@ -40,6 +40,7 @@ #include #include +#include #include namespace Ewoms { @@ -235,6 +236,16 @@ public: void equilCartesianCoordinate(unsigned cellIdx, std::array& ijk) const { return asImp_().equilCartesianIndexMapper().cartesianCoordinate(cellIdx, ijk); } + /*! + * \brief Return the names of the wells which do not penetrate any cells on the local + * process. + * + * This is a kludge around the fact that for distributed grids, not all wells are + * seen by all proccesses. + */ + std::unordered_set defunctWellNames() const + { return std::unordered_set(); } + private: Implementation& asImp_() { return *static_cast(this); }