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")
registerADMooseObject("MooseApp", FVFunctorTimeKernel)
Moose::StateArg determineState() const
Create a functor state argument that corresponds to the implicit state of this object.
DualNumber< Real, DNDerivativeType, true > ADReal
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 ...
static InputParameters validParams()
const Elem *const & _current_elem
static InputParameters validParams()
FVFunctorTimeKernel(const InputParameters ¶meters)
const Moose::FunctorBase< ADReal > & _functor
The functor to query for the time derivative.
DotType dot(const ElemArg &elem, const StateArg &state) const
Same as their evaluateDot overloads with the same arguments but allows for caching implementation...
ADReal computeQpResidual() override
This is the primary function that must be implemented for flux kernel terms.
MOOSE now contains C++17 code, so give a reasonable error message stating what the user can do to add...
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type...