20 params.
addClassDescription(
"Residual contribution from time derivative of an AD functor (default "
21 "is the variable this kernel is acting upon if the 'functor' "
22 "parameter is not supplied) for the finite volume method.");
25 params.
addParam<MooseFunctorName>(
"functor",
26 "The functor this kernel queries for the time derivative.");
32 _functor(isParamValid(
"functor")
DualNumber< Real, DNDerivativeType, true > ADReal
registerADMooseObject("MooseApp", FVFunctorTimeKernel)
FVElemental is used for calculating residual contributions from volume integral terms of a PDE where ...
static InputParameters validParams()
const Elem *const & _current_elem
const Moose::FunctorBase< ADReal > & _functor
The functor to query for the time derivative.
FVFunctorTimeKernel(const InputParameters ¶meters)
static InputParameters validParams()
ADReal computeQpResidual() override
This is the primary function that must be implemented for flux kernel terms.
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...
DotType dot(const ElemArg &elem, const StateArg &state) const
Same as their evaluateDot overloads with the same arguments but allows for caching implementation.
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type.
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...