10 #ifdef MOOSE_MFEM_ENABLED 21 params.
addClassDescription(
"Class for creating arbitrary MFEM finite element spaces. It requires " 22 "the user to have some knowledge of how MFEM works.");
24 "The name of the finite element collection to use for this " 25 "space. See MFEM documentation for details.");
26 params.
addParam<
int>(
"vdim", 1,
"The number of degrees of freedom per basis function.");
32 _fec_name(parameters.
get<
std::string>(
"fec_name")),
33 _vdim(parameters.
get<
int>(
"vdim"))
59 if (!strncmp(fec.c_str(),
"RT", 2) || !strncmp(fec.c_str(),
"ND", 2))
registerMooseObject("MooseApp", MFEMGenericFESpace)
virtual bool isVector() const override
const std::string _fec_name
The name of the finite element collection.
Constructs and stores an mfem::ParFiniteElementSpace object.
const int _vdim
The number of degrees of freedom per basis function.
static InputParameters validParams()
MFEMGenericFESpace(const InputParameters ¶meters)
Constructs and stores an mfem::ParFiniteElementSpace object.
virtual std::string getFECName() const override
Get the name of the desired FECollection.
static InputParameters validParams()
virtual bool isScalar() const override
void ErrorVector unsigned int
const Elem & get(const ElemType type_in)
virtual int getVDim() const override
Get the number of degrees of freedom per basis function needed in this finite element space...