10 #ifdef MOOSE_MFEM_ENABLED 22 params.
addClassDescription(
"Calculates the total flux of a vector field through an interface");
23 params.
addParam<MFEMScalarCoefficientName>(
24 "coefficient",
"1.",
"Name of optional scalar coefficient to scale integrand by.");
26 "Name of the first vector variable in the inner product.");
28 "Name of the second vector variable in the inner product.");
36 _primal_var(getMFEMProblem().getProblemData().gridfunctions.GetRef(
37 getParam<VariableName>(
"primal_variable"))),
38 _dual_var(getMFEMProblem().getProblemData().gridfunctions.GetRef(
39 getParam<VariableName>(
"dual_variable"))),
40 _scalar_coef(getScalarCoefficient(
"coefficient")),
41 _dual_var_coef(&_dual_var),
42 _scaled_dual_var_coef(_scalar_coef, _dual_var_coef),
43 _subdomain_integrator(_primal_var.ParFESpace())
mfem::ScalarVectorProductCoefficient _scaled_dual_var_coef
mfem::Array< int > & getSubdomainMarkers()
static InputParameters validParams()
bool isSubdomainRestricted()
Returns a bool indicating if the object is restricted to a subset of subdomains.
Postprocessor for MFEM results.
MFEMVectorFEInnerProductIntegralPostprocessor(const InputParameters ¶meters)
mfem::ParGridFunction & _primal_var
Real PostprocessorValue
various MOOSE typedefs
mfem::ParLinearForm _subdomain_integrator
virtual PostprocessorValue getValue() const override final
Return the last evaluated integral value.
registerMooseObject("MooseApp", MFEMVectorFEInnerProductIntegralPostprocessor)
static InputParameters validParams()
virtual void execute() override
Evaluate integral.
Compute the integral of the innter product between two MFEM vector FE variables, scaled by an optiona...
static InputParameters validParams()
Base class for construction of an object that is restricted to a subset of subdomains of the problem ...