19 "Compute the jump of the solution gradient across element boundaries.");
20 params.
addParam<
bool>(
"variable_is_FV",
22 "Whether the solution variable is using a finite volume discretization");
27 "ElementSideNeighborLayers",
30 rm_params.
set<
unsigned short>(
"layers") = obj_params.
get<
bool>(
"variable_is_FV") ? 2 : 1;
const OutputTools< ComputeValueType >::VariableGradient & _grad_u_neighbor
Holds the current solution gradient at the current quadrature point.
virtual bool isFV() const
static InputParameters validParams()
Factory constructor initializes all internal references needed for indicator computation.
The InternalSideIndicator class is responsible for calculating the residuals for various physics on i...
A structure that is used to evaluate Moose functors logically at an element/cell center.
GradientJumpIndicator(const InputParameters ¶meters)
unsigned int _qp
The current quadrature point.
MooseVariableField< ComputeValueType > & _var
const Elem *const & _neighbor_elem
The neighbor element across from the current side.
const OutputTools< ComputeValueType >::VariableGradient & _grad_u
Holds the current solution gradient at the current quadrature point on the face.
registerMooseObject("MooseApp", GradientJumpIndicator)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
bool hasBlocks(const SubdomainID id) const override
Returns whether the functor is defined on this block.
GradientType gradient(const ElemArg &elem, const StateArg &state) const
Same as their evaluateGradient overloads with the same arguments but allows for caching implementatio...
static InputParameters validParams()
bool hasBlocks(const SubdomainName &name) const
Test if the supplied block name is valid for this object.
virtual Real computeQpIntegral() override
The virtual function you will want to override to compute error contributions.
const MooseArray< Point > & _normals
Normal vectors at the quadrature points.