13 #include "metaphysicl/raw_type.h" 22 "The name of the variable which this postprocessor integrates");
35 _u(coupledValue(
"variable")),
36 _grad_u(coupledGradient(
"variable")),
37 _fv(_fv_variable || _linear_fv_variable)
bool _qp_integration
Whether to integrate over quadrature points or FaceInfos.
static InputParameters validParams()
static InputParameters validParams()
Moose::StateArg determineState() const
Create a functor state argument that corresponds to the implicit state of this object.
Real computeQpIntegral() override
const VariableValue & _u
Holds the solution at current quadrature points.
unsigned int _qp
The local quadrature point index when computing an integral over quadrature points.
const bool _fv
Whether this is acting on a finite volume variable.
This data structure is used to store geometric and variable related metadata about each cell face in ...
VarKindType
Framework-wide stuff.
Real computeFaceInfoIntegral(const FaceInfo *fi) override
This postprocessor computes a surface integral of the specified variable on a sideset on the boundary...
SideIntegralVariablePostprocessor(const InputParameters ¶meters)
void addMooseVariableDependency(MooseVariableFieldBase *var)
Call this function to add the passed in MooseVariableFieldBase as a variable that this object depends...
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
Interface for objects that need to get values of MooseVariables.
MooseVariableField< Real > & mooseVariableField()
Return the MooseVariableField object that this interface acts on.
registerMooseObject("MooseApp", SideIntegralVariablePostprocessor)
MooseVariableField< Real > * _field_variable
MOOSE now contains C++17 code, so give a reasonable error message stating what the user can do to add...
Moose::FaceArg makeCDFace(const FaceInfo &fi, const bool correct_skewness=false) const
Make a functor face argument with a central differencing limiter, e.g.
This postprocessor computes a surface integral of the specified variable.
bool hasFaceSide(const FaceInfo &fi, const bool fi_elem_side) const override
virtual bool hasFaceSide(const FaceInfo &fi, const bool fi_elem_side) const override