10#ifdef MOOSE_MFEM_ENABLED
22 "Adds the domain integrator to an MFEM problem for the mixed bilinear form "
23 "$(-k\\vec u, \\vec\\nabla v)_\\Omega$ "
24 "arising from the weak form of the divergence operator "
25 "$\\vec \\nabla \\cdot (k\\vec u)$.");
26 params.
addParam<MFEMScalarCoefficientName>(
"coefficient",
"1.",
"Name of property k to use.");
32 :
MFEMKernel(parameters), _coef(getScalarCoefficient(
"coefficient"))
36mfem::BilinearFormIntegrator *
39 return new mfem::VectorFEWeakDivergenceIntegrator(
_coef);
registerMooseObject("MooseApp", MFEMVectorFEWeakDivergenceKernel)
Class to construct an MFEM integrator to apply to the equation system.
static InputParameters validParams()
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
MFEMVectorFEWeakDivergenceKernel(const InputParameters ¶meters)
static InputParameters validParams()