20 "Computes a 'mass matrix', which will just be a diagonal matrix for the finite volume " 21 "method, meant for use in preconditioning schemes which require one");
22 params.
addParam<MooseFunctorName>(
"density", 1.0,
"Optional density weighting functor");
28 params.
set<
bool>(
"matrix_only") =
true;
36 mooseError(
"One of 'matrix_tags' or 'extra_matrix_tags' must be provided");
ADReal computeQpResidual() override
This is the primary function that must be implemented for flux kernel terms.
Moose::StateArg determineState() const
Create a functor state argument that corresponds to the implicit state of this object.
FVMassMatrix(const InputParameters ¶meters)
DualNumber< Real, DNDerivativeType, true > ADReal
bool isParamValid(const std::string &name) const
Test if the supplied parameter is valid.
Moose::ElemArg makeElemArg(const Elem *elem, bool correct_skewnewss=false) const
Helper method to create an elemental argument for a functor that includes whether to perform skewness...
FVElemental is used for calculating residual contributions from volume integral terms of a PDE where ...
const Elem *const & _current_elem
static InputParameters validParams()
registerMooseObject("MooseApp", FVMassMatrix)
const Moose::Functor< Real > & _density
Elemental weighting functor.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
Computes a 'mass matrix', which will just be a diagonal matrix for the finite volume method...
void mooseError(Args &&... args) const
Emits an error prefixed with object name and type.
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type...
static InputParameters validParams()
MooseVariableFV< Real > & _var
virtual void computeResidual() override
Usually you should not override these functions - they have some tricky stuff in them that you don't ...