21 #ifndef GEOS_MESH_WELLELEMENTREGION_HPP_
22 #define GEOS_MESH_WELLELEMENTREGION_HPP_
24 #include "mesh/ElementRegionBase.hpp"
25 #include "mesh/generators/LineBlockABC.hpp"
76 {
return "WellElementRegion"; }
163 const string m_subRegionName;
166 string m_wellControlsName;
169 string m_wellGeneratorName;
The ElementRegionBase is the base class to manage the data stored at the element level.
Class facilitating the representation of a multi-level discretization of a MeshBody.
This class specializes the element region for the case of a well. This class is also in charge of sta...
WellElementRegion()=delete
Deleted default constructor.
geos::WellElementRegion::viewKeyStruct viewKeysWellElementRegion
ViewKey struct for the WellElementRegion class.
void generateMesh(Group const &) override
Not implemented, this task is performed in GenerateWell.
void setWellControlsName(string const &name)
Set the name of the WellControls object of this well.
WellElementRegion(string const &name, Group *const parent)
Constructor.
virtual string getCatalogName() const override final
Get the catalog name.
void generateWell(MeshLevel &mesh, LineBlockABC const &lineBlock, globalIndex nodeOffsetGlobal, globalIndex elemOffsetGlobal)
Build the local well elements and perforations from global well geometry.
static string catalogName()
Get the catalog name.
string const & getWellGeneratorName() const
Get the name of the InternalWellGenerator object of this well.
void setWellGeneratorName(string const &name)
Set the name of the InternalWellGenerator object of this well.
virtual ~WellElementRegion() override
Default destructor.
string const & getSubRegionName() const
Get the name of the subRegion.
Group::wrapperMap::KeyIndex ViewKey
Type alias for KeyIndexT type used for wrapper lookups.
GEOS_GLOBALINDEX_TYPE globalIndex
Global index type (for indexing objects across MPI partitions).
Struct to serve as a container for variable strings and keys.
Struct to serve as a container for variable strings and keys.
dataRepository::ViewKey wellControlsName
ViewKey for the well control name.
dataRepository::ViewKey wellGeneratorName
ViewKey for the well generator name.
static constexpr char const * wellGeneratorString()
static constexpr char const * wellControlsString()