14 #include "libmesh/ignore_warnings.h" 16 #include "mfem/miniapps/common/mfem-common.hpp" 17 #include "libmesh/restore_warnings.h" 31 std::vector<std::string>
subdomainsToStrings(
const std::vector<SubdomainName> & subdomain_names);
mfem::Array< int > subdomainsToAttributes(const std::vector< SubdomainName > &subdomain_names)
mfem::Array< int > & getSubdomainMarkers()
const mfem::ParMesh & _mfem_mesh
Stores the names of the subdomains.
const mfem::Array< int > & getSubdomainAttributes()
bool isSubdomainRestricted()
Returns a bool indicating if the object is restricted to a subset of subdomains.
std::vector< std::string > subdomainsToStrings(const std::vector< SubdomainName > &subdomain_names)
std::vector< SubdomainName > _subdomain_names
Stores the names of the subdomains.
mfem::Array< int > _subdomain_markers
Boolean array indicating which subdomains are active in this object.
mfem::Array< int > _subdomain_attributes
Array storing subdomain attribute IDs for this object.
static InputParameters validParams()
MFEMBlockRestrictable(const InputParameters ¶meters, const mfem::ParMesh &mfem_mesh)
const mfem::ParMesh & getMesh() const
Base class for construction of an object that is restricted to a subset of subdomains of the problem ...