10#ifdef MOOSE_MFEM_ENABLED
21 "Adds the domain integrator to an MFEM problem for the mixed bilinear form "
22 "$(k\\vec\\nabla u, \\vec v)_\\Omega$ "
23 "arising from the weak form of the gradient operator "
24 "$k\\vec \\nabla u$.");
25 params.
addParam<MFEMScalarCoefficientName>(
26 "coefficient",
"1.",
"Name of scalar coefficient k to multiply the integrator by.");
27 params.
addParam<MFEMVectorCoefficientName>(
28 "diagonal_coefficient",
29 "Name of diagonal coefficient for property k. Mutually exclusive with parameters "
30 "'coefficient' and 'matrix_coefficient'.");
31 params.
addParam<MFEMMatrixCoefficientName>(
33 "Name of matrix coefficient for property k. Mutually exclusive with parameters 'coefficient' "
34 "and 'diagonal_coefficient'.");
41 getVariantCoefficient(
"coefficient",
"diagonal_coefficient",
"matrix_coefficient"))
45mfem::BilinearFormIntegrator *
48 return std::visit([](
auto & c) {
return new mfem::MixedVectorGradientIntegrator(c); },
registerMooseObject("MooseApp", MFEMMixedVectorGradientKernel)
static InputParameters validParams()
virtual mfem::BilinearFormIntegrator * createMBFIntegrator() override
Create MFEM mixed bilinear form integrator. Ownership managed by the caller.
MFEMMixedVectorGradientKernel(const InputParameters ¶meters)
MFEMVariantCoefficient _variant_coef