13#include "metaphysicl/raw_type.h"
22 "The name of the variable which this postprocessor integrates");
23 params.
addClassDescription(
"Computes an integral on internal sides of the specified variable");
33 Moose::VarKindType::VAR_ANY,
34 Moose::VarFieldType::VAR_FIELD_STANDARD),
35 _u(coupledValue(
"variable")),
36 _grad_u(coupledGradient(
"variable")),
58 const bool fi_elem_side)
const
registerMooseObject("MooseApp", InternalSideIntegralVariablePostprocessor)
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 data structure is used to store geometric and variable related metadata about each cell face in ...
This postprocessor computes a surface integral of the specified variable on internal sides of the mes...
static InputParameters validParams()
bool _qp_integration
Whether to integrate over quadrature points or FaceInfos.
unsigned int _qp
The local quadrature point index when computing an integral over quadrature points.
This postprocessor computes an integral on internal mesh sides of the specified variable.
const VariableValue & _u
Holds the solution at current quadrature points.
InternalSideIntegralVariablePostprocessor(const InputParameters ¶meters)
const bool _fv
Whether this is acting on a finite volume variable.
bool hasFaceSide(const FaceInfo &fi, const bool fi_elem_side) const override
Real computeQpIntegral() override
Real computeFaceInfoIntegral(const FaceInfo *fi) override
static InputParameters validParams()
void addMooseVariableDependency(MooseVariableFieldBase *var)
Call this function to add the passed in MooseVariableFieldBase as a variable that this object depends...
Interface for objects that need to get values of MooseVariables.
MooseVariableField< Real > & mooseVariableField()
Return the MooseVariableField object that this interface acts on.
MooseVariableFV< Real > * _fv_variable
virtual bool hasFaceSide(const FaceInfo &fi, const bool fi_elem_side) const override
Moose::StateArg determineState() const
Create a functor state argument that corresponds to the implicit state of this object.
MOOSE now contains C++17 code, so give a reasonable error message stating what the user can do to add...