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