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"))
37 mfem::BilinearFormIntegrator *
40 return new mfem::DiffusionIntegrator(
_coef);
virtual mfem::BilinearFormIntegrator * createBFIntegrator() override
static InputParameters validParams()
registerMooseObject("MooseApp", MFEMDiffusionKernel)
mfem::Coefficient & _coef
Class to construct an MFEM integrator to apply to the equation system.
MFEMDiffusionKernel(const InputParameters ¶meters)
static InputParameters validParams()