mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-08 07:23:02 -06:00
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:
parent
36c010c956
commit
a0481039db
@ -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); }
|
||||
|
Loading…
Reference in New Issue
Block a user