10 #ifdef MOOSE_MFEM_ENABLED 22 params.
addParam<MFEMScalarCoefficientName>(
23 "diffusion_coefficient",
"1.0",
"Name of property for diffusion coefficient k");
24 params.
addParam<MFEMScalarCoefficientName>(
25 "boundary_coefficient",
"0.0",
"Name of property for Dirichlet coefficient");
26 params.
addParam<mfem::real_t>(
"sigma", -1.0,
"Symmetry parameter. Typically +/- 1.0");
28 "kappa",
"Penalty parameter. Should be non-negative. Will default to (order+1)^2");
34 _fe_order(getMFEMProblem().getGridFunction(_test_var_name)->ParFESpace()->FEColl()->GetOrder()),
35 _dcoef(getScalarCoefficient(
"diffusion_coefficient")),
36 _bcoef(getScalarCoefficient(
"boundary_coefficient")),
37 _sigma(getParam<
mfem::real_t>(
"sigma")),
38 _kappa((isParamSetByUser(
"kappa")) ? getParam<
mfem::real_t>(
"kappa")
39 : (_fe_order + 1) * (_fe_order + 1))
44 mfem::BilinearFormIntegrator *
52 mfem::LinearFormIntegrator *
registerMooseObject("MooseApp", MFEMDGDiffusionBC)
mfem::Coefficient & _bcoef
static InputParameters validParams()
virtual mfem::BilinearFormIntegrator * createBFIntegrator() override
Create MFEM integrator to apply to the LHS of the weak form. Ownership managed by the caller...
mfem::Coefficient & _dcoef
static InputParameters validParams()
virtual mfem::LinearFormIntegrator * createLFIntegrator() override
Create MFEM integrator to apply to the RHS of the weak form. Ownership managed by the caller...
MFEMDGDiffusionBC(const InputParameters ¶meters)