ebos: add the disabled well names kluge to the grid manager

this array is only non-empty for parallel runs.
This commit is contained in:
Andreas Lauser 2016-12-06 19:39:06 +01:00
parent 36c010c956
commit a0481039db

View File

@ -40,6 +40,7 @@
#include <opm/parser/eclipse/EclipseState/Schedule/Schedule.hpp>
#include <vector>
#include <unordered_set>
#include <array>
namespace Ewoms {
@ -235,6 +236,16 @@ public:
void equilCartesianCoordinate(unsigned cellIdx, std::array<int,3>& 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<std::string> defunctWellNames() const
{ return std::unordered_set<std::string>(); }
private:
Implementation& asImp_()
{ return *static_cast<Implementation*>(this); }