16 #ifndef GEOSX_MESH_CELLELEMENTSUBREGION_HPP_ 17 #define GEOSX_MESH_CELLELEMENTSUBREGION_HPP_ 69 string const & setName );
87 bool const overwriteUpMaps,
88 bool const overwriteDownMaps )
override;
90 virtual void FixUpDownMaps(
bool const clearIfUnmapped )
final override;
104 template<
typename LAMBDA >
110 lambda( constitutiveGroup );
195 template<
bool DOPACK >
map< string, localIndex_array > m_constitutiveGrouping
Map used for constitutive grouping.
static constexpr auto detJString
String key for the derivative of the jacobian.
virtual viewKeyStruct & viewKeys() override
Get the view keys for Group access.
virtual localIndex PackUpDownMaps(buffer_unit_type *&buffer, arrayView1d< localIndex const > const &packList) const override
Packs the specific elements in the @ packList.
Base template for ordered and unordered maps.
struct to serve as a container for variable strings and keys
array2d< real64 > & detJ()
arrayView2d< real64 const > detJ() const
This class serves to provide a "view" of a multidimensional array.
virtual localIndex PackUpDownMapsSize(arrayView1d< localIndex const > const &packList) const override
Computes the pack size of the specific elements in the @ packList.
dataRepository::ViewKey constitutiveGrouping
ViewKey for the constitutive grouping.
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.
Group::wrapperMap::KeyIndex ViewKey
Type alias for KeyIndexT type used for wrapper lookups.
virtual ~CellElementSubRegion() override
Destructor.
array4d< real64 > & dNdX()
static constexpr auto dNdXString
String key for the derivatives of the shape functions with respect to the reference configuration...
arrayView4d< real64 const > dNdX() const
signed char buffer_unit_type
Type stored in communication buffers.
geosx::CellElementSubRegion::viewKeyStruct m_CellBlockSubRegionViewKeys
viewKey struct for the CellElementSubRegion class
array3d< real64 > m_constitutivePointVolumeFraction
Array of constitutive point volume fraction.
static constexpr auto constitutiveGroupingString
String key for the constitutive grouping.
CellElementSubRegion(string const &name, Group *const parent)
Constructor for this class.
virtual void FixUpDownMaps(bool const clearIfUnmapped) final override
Call ObjectManagerBase::FixUpDownMaps for the connectivity maps needed by the derived class (i...
virtual void ViewPackingExclusionList(SortedArray< localIndex > &exclusionList) const override
Inserts in exclusionList the data that shall not be packed.
std::ptrdiff_t localIndex
Local index type (for indexing objects within an MPI partition).
void ConstructSubRegionFromFaceSet(FaceManager const *const faceManager, string const &setName)
Fill the CellElementSubRegion by querying a target set into the faceManager.
virtual viewKeyStruct const & viewKeys() const override
Get the view keys for Group access, const version.
static constexpr auto constitutivePointVolumeFraction
String key for the constitutive point volume fraction.
void forMaterials(LAMBDA lambda)
Helper function to apply a lambda function over all constructive groups.
static constexpr auto constitutiveMapString
String key for the constitutive map.
The FaceManager class provides an interface to ObjectManagerBase in order to manage face data...
void CopyFromCellBlock(CellBlock *source)
Fill the CellElementSubRegion by copying those of the source CellBlock.
This class provides a fixed dimensional resizeable array interface in addition to an interface simila...
dataRepository::ViewKey constitutiveMap
ViewKey for the constitutive map.