16 #ifndef GEOS_WELLBLOCK_HPP
17 #define GEOS_WELLBLOCK_HPP
19 #include "mesh/generators/LineBlockABC.hpp"
256 string m_wellControlsName;
259 string m_wellGeneratorName;
void setPerfCoords(arrayView2d< real64 const > perfCoords)
Set the locations of the perforations.
string const & getWellGeneratorName() const override final
Get the well generator name.
string const & getWellControlsName() const override final
Get the well controls name.
arrayView2d< real64 const > getPerfCoords() const override final
Get the locations of the perforations.
void setElemVolume(arrayView1d< real64 const > elemVolume)
Set the volume of the well elements.
void setElemToNodesMap(arrayView2d< globalIndex const > elemToNodesMap)
Set the global indices of the well nodes nodes connected to each element.
arrayView2d< real64 const > getElemCoords() const override final
Get the physical location of the centers of well elements.
arrayView1d< real64 const > getPerfTransmissibility() const override final
Get the well transmissibility at the perforations.
arrayView1d< real64 const > getPerfSkinFactor() const override final
Get the well skin factor at the perforations.
LineBlock(string const &name, Group *const parent)
Constructor for this class.
arrayView1d< real64 const > getElemVolume() const override final
Get the volume of the well elements.
arrayView1d< globalIndex const > getPerfElemIndex() const override final
Get the global indices of the well elements connected to each perforation.
void setWellGeneratorName(string const &wellGeneratorName)
Set the well genrator name.
arrayView1d< globalIndex const > getNextElemIndex() const override final
Get the global indices mapping an element to the next.
globalIndex numPerforations() const override final
Get the global number of perforations on this well.
real64 getElementRadius() const override final
Get the radius in the well.
void setNumElements(globalIndex numElems)
Set the global number of well elements.
void setElementRadius(real64 radius)
Set the radius in the well.
void setNumPerforations(globalIndex numPerforations)
Set the global number of perforations on this well.
arrayView2d< real64 const > getNodeCoords() const override final
Get the physical location of the centers of well elements.
void setPerfElemIndex(arrayView1d< globalIndex const > perfElemId)
Set the global indices of the well elements connected to each perforation.
void setPerfSkinFactor(arrayView1d< real64 const > perfSkinFactor)
Set the well skin factor at the perforations.
void setPerfTransmissibility(arrayView1d< real64 const > perfTransmissibility)
Set the well transmissibility at the perforations.
void setNextElemIndex(arrayView1d< globalIndex const > nextElemId)
Set the global indices mapping an element to the next.
globalIndex numElements() const override final
Get the global number of well elements.
void setPrevElemIndices(arrayView1d< arrayView1d< globalIndex const > const > prevElemIndices)
Set the global indices mapping an element to the previous ones.
arrayView1d< arrayView1d< globalIndex const > const > getPrevElemIndices() const override final
Get the global indices mapping an element to the previous ones.
void setNodeCoords(arrayView2d< real64 const > nodeCoords)
Set the physical location of the centers of well elements.
void setElemCoords(arrayView2d< real64 const > elemCenterCoords)
Set the physical location of the centers of well elements.
globalIndex numNodes() const override final
Get the global number of well nodes.
arrayView2d< globalIndex const > getElemToNodesMap() const override final
Get the global indices of the well nodes nodes connected to each element.
void setWellControlsName(string const &wellControlsName)
Set the well controls name.
void setNumNodes(globalIndex numNodes)
Set the global number of well nodes.
ArrayView< T, 1 > arrayView1d
Alias for 1D array view.
Array< T, 2, PERMUTATION > array2d
Alias for 2D array.
GEOS_GLOBALINDEX_TYPE globalIndex
Global index type (for indexing objects across MPI partitions).
array1d< string > string_array
A 1-dimensional array of geos::string types.
double real64
64-bit floating point type.
ArrayView< T, 2, USD > arrayView2d
Alias for 2D array view.
Array< T, 1 > array1d
Alias for 1D array.