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.");
34 _coef(getScalarCoefficient(getParam<MFEMScalarCoefficientName>(
"coefficient")))
38 mfem::BilinearFormIntegrator *
41 return new mfem::DiffusionIntegrator(
_coef);
virtual mfem::BilinearFormIntegrator * createBFIntegrator() override
static InputParameters validParams()
registerMooseObject("MooseApp", MFEMDiffusionKernel)
mfem::Coefficient & _coef
MFEMDiffusionKernel(const InputParameters ¶meters)
static InputParameters validParams()