19 #ifndef GEOSX_MESH_FACEELEMENTSUBREGION_HPP_ 20 #define GEOSX_MESH_FACEELEMENTSUBREGION_HPP_ 52 {
return "FaceElementSubRegion"; }
106 bool const overwriteUpMaps,
107 bool const overwriteDownMaps )
override;
109 virtual void FixUpDownMaps(
bool const clearIfUnmapped )
override;
121 std::set< localIndex >
const & indices );
135 #if GEOSX_USE_SEPARATION_COEFFICIENT 138 constexpr
static auto separationCoeffString =
"separationCoeff";
141 constexpr
static auto dSeparationCoeffdAperString =
"dSeparationCoeffdAper";
161 return m_toFacesRelation;
169 return m_toFacesRelation;
186 #ifdef GEOSX_USE_SEPARATION_COEFFICIENT 222 {
return m_dNdX.toViewConst(); }
245 template<
bool DOPACK >
258 #ifdef GEOSX_USE_SEPARATION_COEFFICIENT
virtual void setupRelatedObjectsInRelations(MeshLevel const *const mesh) override
Link the connectivity maps of the subregion to the managers storing the mesh information.
void inheritGhostRankFromParentFace(FaceManager const *const faceManager, std::set< localIndex > const &indices)
Function to set the ghostRank for a list of FaceElements and set them to the value of their bounding ...
SortedArray< localIndex > m_newFaceElements
List of the new face elements that have been generated.
Class facilitating the representation of a multi-level discretization of a MeshBody.
virtual localIndex PackUpDownMapsSize(arrayView1d< localIndex const > const &packList) const override
Computes the pack size of the specific elements in the @ packList.
FaceMapType const & faceList() const
Get the face element to faces map.
The NodeManager class provides an interface to ObjectManagerBase in order to manage node data...
Base template for ordered and unordered maps.
array2d< real64 > & detJ()
virtual localIndex PackUpDownMaps(buffer_unit_type *&buffer, arrayView1d< localIndex const > const &packList) const override
Packs the specific elements in the @ packList.
virtual void CalculateElementGeometricQuantities(NodeManager const &nodeManager, FaceManager const &faceManager) override
Calculate the geometric quantities for each element in the subregion.
This class serves to provide a "view" of a multidimensional array.
virtual const string getCatalogName() const override
Get catalog name.
Struct containing the keys to all face element views.
virtual void FixUpDownMaps(bool const clearIfUnmapped) override
Call ObjectManagerBase::FixUpDownMaps for the connectivity maps needed by the derived class (i...
Struct containing the keys to all embedded surface element views.
virtual void ViewPackingExclusionList(SortedArray< localIndex > &exclusionList) const override
Inserts in exclusionList the data that shall not be packed.
map< localIndex, array1d< globalIndex > > m_unmappedGlobalIndicesInToEdges
Unmapped face elements to edges map.
signed char buffer_unit_type
Type stored in communication buffers.
map< localIndex, array1d< globalIndex > > m_unmappedGlobalIndicesInToNodes
Get the number of nodes per face element.
static constexpr auto detJString
String key for the derivative of the jacobian.
virtual ~FaceElementSubRegion() override
Destructor.
array4d< real64 > & dNdX()
std::ptrdiff_t localIndex
Local index type (for indexing objects within an MPI partition).
static const string CatalogName()
Get catalog name.
The FaceManager class provides an interface to ObjectManagerBase in order to manage face data...
arrayView2d< real64 const > detJ() const
This class provides a fixed dimensional resizeable array interface in addition to an interface simila...
FaceElementSubRegion(string const &name, dataRepository::Group *const parent)
Constructor.
arrayView4d< real64 const > dNdX() const
FaceMapType & faceList()
Get the face element to faces map.
static constexpr auto dNdXString
String key for the derivatives of the shape functions with respect to the reference configuration...
virtual localIndex UnpackUpDownMaps(buffer_unit_type const *&buffer, array1d< localIndex > &packList, bool const overwriteUpMaps, bool const overwriteDownMaps) override
Unpacks the specific elements in the @ packList.
map< localIndex, array1d< globalIndex > > m_unmappedGlobalIndicesInToFaces
Unmapped face elements to faces map.