Base class for construction of an object that is restricted to a subset of boundaries of the problem mesh. More...
#include <MFEMBoundaryRestrictable.h>
Public Member Functions | |
MFEMBoundaryRestrictable (const InputParameters ¶meters, const mfem::ParMesh &mfem_mesh) | |
mfem::Array< int > | boundariesToAttributes (const std::vector< BoundaryName > &boundary_names) |
bool | isBoundaryRestricted () const |
Returns a bool indicating if the object is restricted to a subset of boundaries. More... | |
const mfem::ParMesh & | getMesh () |
const mfem::Array< int > & | getBoundaryAttributes () |
mfem::Array< int > & | getBoundaryMarkers () |
Static Public Member Functions | |
static InputParameters | validParams () |
Protected Attributes | |
const mfem::ParMesh & | _mfem_mesh |
Stores the names of the boundaries. More... | |
std::vector< BoundaryName > | _boundary_names |
Stores the names of the boundaries. More... | |
mfem::Array< int > | _boundary_attributes |
Array storing boundary attribute IDs for this object. More... | |
mfem::Array< int > | _boundary_markers |
Boolean array indicating which boundaries are active in this object. More... | |
Base class for construction of an object that is restricted to a subset of boundaries of the problem mesh.
Definition at line 23 of file MFEMBoundaryRestrictable.h.
MFEMBoundaryRestrictable::MFEMBoundaryRestrictable | ( | const InputParameters & | parameters, |
const mfem::ParMesh & | mfem_mesh | ||
) |
Definition at line 27 of file MFEMBoundaryRestrictable.C.
mfem::Array< int > MFEMBoundaryRestrictable::boundariesToAttributes | ( | const std::vector< BoundaryName > & | boundary_names | ) |
Definition at line 40 of file MFEMBoundaryRestrictable.C.
Referenced by MFEMBoundaryRestrictable().
|
inline |
Definition at line 39 of file MFEMBoundaryRestrictable.h.
Referenced by MFEMBoundarySubMesh::buildSubMesh().
|
inline |
Definition at line 40 of file MFEMBoundaryRestrictable.h.
Referenced by MFEMScalarDirichletBC::ApplyBC(), MFEMVectorDirichletBC::ApplyBC(), MFEMVectorNormalDirichletBC::ApplyBC(), and MFEMVectorTangentialDirichletBC::ApplyBC().
|
inline |
Definition at line 38 of file MFEMBoundaryRestrictable.h.
Referenced by boundariesToAttributes(), and MFEMBoundarySubMesh::buildSubMesh().
|
inline |
Returns a bool indicating if the object is restricted to a subset of boundaries.
Definition at line 33 of file MFEMBoundaryRestrictable.h.
|
static |
Definition at line 15 of file MFEMBoundaryRestrictable.C.
Referenced by MFEMBoundaryCondition::validParams(), and MFEMBoundarySubMesh::validParams().
|
protected |
Array storing boundary attribute IDs for this object.
Definition at line 48 of file MFEMBoundaryRestrictable.h.
Referenced by getBoundaryAttributes(), isBoundaryRestricted(), and MFEMBoundaryRestrictable().
|
protected |
Boolean array indicating which boundaries are active in this object.
Definition at line 50 of file MFEMBoundaryRestrictable.h.
Referenced by getBoundaryMarkers(), and MFEMBoundaryRestrictable().
|
protected |
Stores the names of the boundaries.
Definition at line 46 of file MFEMBoundaryRestrictable.h.
Referenced by MFEMBoundaryRestrictable().
|
protected |
Stores the names of the boundaries.
Definition at line 44 of file MFEMBoundaryRestrictable.h.
Referenced by getMesh(), and MFEMBoundaryRestrictable().