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)
void ErrorVector unsigned int
Constructs and stores an mfem::ParFiniteElementSpace object.
static InputParameters validParams()
Constructs and stores an mfem::ParFiniteElementSpace object.
MFEMGenericFESpace(const InputParameters ¶meters)
virtual bool isScalar() const override
static InputParameters validParams()
virtual std::string getFECName() const override
Get the name of the desired FECollection.
const std::string _fec_name
The name of the finite element collection.
const int _vdim
The number of degrees of freedom per basis function.
virtual int getVDim() const override
Get the number of degrees of freedom per basis function needed in this finite element space.
virtual bool isVector() const override