10 #ifdef MOOSE_MFEM_ENABLED 21 params.
addParam<MFEMScalarCoefficientName>(
22 "coefficient",
"0.",
"The coefficient setting the values on the essential boundary");
27 :
MFEMEssentialBC(parameters), _coef(getScalarCoefficient(
"coefficient"))
void ApplyBC(mfem::GridFunction &gridfunc) override
Apply the essential BC, overwritign the values of gridfunc on the boundary as desired.
MFEMScalarDirichletBC(const InputParameters ¶meters)
registerMooseObject("MooseApp", MFEMScalarDirichletBC)
mfem::Coefficient & _coef
mfem::Array< int > & getBoundaryMarkers()
static InputParameters validParams()
static InputParameters validParams()