10#ifdef MOOSE_MFEM_ENABLED
20 params.
addClassDescription(
"Adds the boundary integrator to an MFEM problem for the linear form "
21 "$(\\vec f, \\vec v)_{\\partial\\Omega}$");
22 params.
addParam<MFEMVectorCoefficientName>(
23 "vector_coefficient",
"1. 1. 1.",
"Vector coefficient used in the boundary integrator");
28 :
MFEMIntegratedBC(parameters), _vec_coef(getVectorCoefficient(
"vector_coefficient"))
34mfem::LinearFormIntegrator *
37 return new mfem::VectorBoundaryLFIntegrator(
_vec_coef);
registerMooseObject("MooseApp", MFEMVectorBoundaryIntegratedBC)
static InputParameters validParams()
mfem::VectorCoefficient & _vec_coef
MFEMVectorBoundaryIntegratedBC(const InputParameters ¶meters)
virtual mfem::LinearFormIntegrator * createLFIntegrator() override
Create MFEM integrator to apply to the RHS of the weak form. Ownership managed by the caller.
static InputParameters validParams()