10 #ifdef MOOSE_MFEM_ENABLED 22 params.
addClassDescription(
"Adds the domain integrator to an MFEM problem for the nonlinear form " 23 "$(k(u) \\vec\\nabla u, \\vec\\nabla v)_\\Omega$ " 24 "arising from the weak form of the non-linear operator " 25 "$- \\vec\\nabla \\cdot (k(u) \\vec\\nabla u)$.");
26 params.
addParam<MFEMScalarCoefficientName>(
27 "k_coefficient",
"1.",
"Name of property for nonlinear diffusivity coefficient k(u).");
28 params.
addParam<MFEMScalarCoefficientName>(
31 "Name of property partial derivative of diffusivity coefficient k(u) with respect to the " 38 _k_coef(getScalarCoefficient(
"k_coefficient")),
39 _dk_du_coef(getScalarCoefficient(
"dk_du_coefficient")),
40 _trial_var(*getMFEMProblem().getGridFunction(getTrialVariableName()))
44 mfem::NonlinearFormIntegrator *
virtual mfem::NonlinearFormIntegrator * createNLIntegrator() override
mfem::Coefficient & _k_coef
registerMooseObject("MooseApp", MFEMNLDiffusionKernel)
static InputParameters validParams()
mfem::Coefficient & _dk_du_coef
MFEMNLDiffusionKernel(const InputParameters ¶meters)
Class to construct an MFEM integrator to apply to the equation system.
static InputParameters validParams()
mfem::ParGridFunction & _trial_var