Base class for construction of an object that is restricted to a subset of subdomains of the problem mesh. More...
#include <MFEMBlockRestrictable.h>
Public Member Functions | |
MFEMBlockRestrictable (const InputParameters ¶meters, const mfem::ParMesh &mfem_mesh) | |
mfem::Array< int > | subdomainsToAttributes (const std::vector< SubdomainName > &subdomain_names) |
std::vector< std::string > | subdomainsToStrings (const std::vector< SubdomainName > &subdomain_names) |
bool | isSubdomainRestricted () |
Returns a bool indicating if the object is restricted to a subset of subdomains. More... | |
const mfem::Array< int > & | getSubdomainAttributes () |
mfem::Array< int > & | getSubdomainMarkers () |
const mfem::ParMesh & | getMesh () const |
Static Public Member Functions | |
static InputParameters | validParams () |
Protected Attributes | |
const mfem::ParMesh & | _mfem_mesh |
Stores the names of the subdomains. More... | |
std::vector< SubdomainName > | _subdomain_names |
Stores the names of the subdomains. More... | |
mfem::Array< int > | _subdomain_attributes |
Array storing subdomain attribute IDs for this object. More... | |
mfem::Array< int > | _subdomain_markers |
Boolean array indicating which subdomains are active in this object. More... | |
Base class for construction of an object that is restricted to a subset of subdomains of the problem mesh.
Definition at line 23 of file MFEMBlockRestrictable.h.
MFEMBlockRestrictable::MFEMBlockRestrictable | ( | const InputParameters & | parameters, |
const mfem::ParMesh & | mfem_mesh | ||
) |
Definition at line 29 of file MFEMBlockRestrictable.C.
|
inline |
Definition at line 38 of file MFEMBlockRestrictable.h.
Referenced by MFEMDomainSubMesh::buildSubMesh(), and subdomainsToAttributes().
|
inline |
Definition at line 36 of file MFEMBlockRestrictable.h.
Referenced by MFEMDomainSubMesh::buildSubMesh().
|
inline |
Definition at line 37 of file MFEMBlockRestrictable.h.
|
inline |
Returns a bool indicating if the object is restricted to a subset of subdomains.
Definition at line 34 of file MFEMBlockRestrictable.h.
mfem::Array< int > MFEMBlockRestrictable::subdomainsToAttributes | ( | const std::vector< SubdomainName > & | subdomain_names | ) |
Definition at line 42 of file MFEMBlockRestrictable.C.
Referenced by MFEMBlockRestrictable(), and subdomainsToStrings().
std::vector< std::string > MFEMBlockRestrictable::subdomainsToStrings | ( | const std::vector< SubdomainName > & | subdomain_names | ) |
Definition at line 71 of file MFEMBlockRestrictable.C.
Referenced by MFEMGenericFunctorMaterial::MFEMGenericFunctorMaterial(), and MFEMGenericFunctorVectorMaterial::MFEMGenericFunctorVectorMaterial().
|
static |
Definition at line 15 of file MFEMBlockRestrictable.C.
Referenced by MFEMFunctorMaterial::validParams(), MFEMDomainSubMesh::validParams(), and MFEMKernel::validParams().
|
protected |
Stores the names of the subdomains.
Definition at line 42 of file MFEMBlockRestrictable.h.
Referenced by getMesh(), and MFEMBlockRestrictable().
|
protected |
Array storing subdomain attribute IDs for this object.
Definition at line 46 of file MFEMBlockRestrictable.h.
Referenced by getSubdomainAttributes(), and MFEMBlockRestrictable().
|
protected |
Boolean array indicating which subdomains are active in this object.
Definition at line 48 of file MFEMBlockRestrictable.h.
Referenced by getSubdomainMarkers(), and MFEMBlockRestrictable().
|
protected |
Stores the names of the subdomains.
Definition at line 44 of file MFEMBlockRestrictable.h.
Referenced by isSubdomainRestricted(), MFEMBlockRestrictable(), MFEMGenericFunctorMaterial::MFEMGenericFunctorMaterial(), and MFEMGenericFunctorVectorMaterial::MFEMGenericFunctorVectorMaterial().