10 #ifdef MOOSE_MFEM_ENABLED 21 params.
addClassDescription(
"Adds the domain integrator to an MFEM problem for the bilinear form " 23 "arising from the weak form of the mass operator " 25 params.
addParam<MFEMScalarCoefficientName>(
26 "coefficient",
"1.",
"Name of property for the mass coefficient k.");
31 :
MFEMKernel(parameters), _coef(getScalarCoefficient(
"coefficient"))
35 mfem::BilinearFormIntegrator *
38 return new mfem::MassIntegrator(
_coef);
registerMooseObject("MooseApp", MFEMMassKernel)
static InputParameters validParams()
virtual mfem::BilinearFormIntegrator * createBFIntegrator() override
MFEMMassKernel(const InputParameters ¶meters)
mfem::Coefficient & _coef
Class to construct an MFEM integrator to apply to the equation system.
static InputParameters validParams()