10#ifdef MOOSE_MFEM_ENABLED
22 "Adds the domain integrator to an MFEM problem for the bilinear form "
23 "$(k\\vec\\nabla \\cdot \\vec u, \\vec\\nabla \\cdot \\vec v)_\\Omega$ "
24 "arising from the weak form of the grad-div operator "
25 "$-\\vec\\nabla \\left( k \\vec\\nabla \\cdot \\vec u \\right)$.");
27 params.
addParam<MFEMScalarCoefficientName>(
28 "coefficient",
"1.",
"Name of property k to multiply the integrator by");
34 :
MFEMKernel(parameters), _coef(getScalarCoefficient(
"coefficient"))
38mfem::BilinearFormIntegrator *
41 return new mfem::DivDivIntegrator(
_coef);
registerMooseObject("MooseApp", MFEMDivDivKernel)
virtual mfem::BilinearFormIntegrator * createBFIntegrator() override
Create MFEM integrator to apply to the LHS of the weak form. Ownership managed by the caller.
mfem::Coefficient & _coef
static InputParameters validParams()
MFEMDivDivKernel(const InputParameters ¶meters)
Class to construct an MFEM integrator to apply to the equation system.
static InputParameters validParams()