21 "Evaluates a functor (variable, function or functor material property) on the current " 22 "element, quadrature point, or node.");
23 params.
addRequiredParam<MooseFunctorName>(
"functor",
"The functor to evaluate");
24 params.
addParam<MooseFunctorName>(
"factor", 1,
"A factor to apply on the functor");
30 _functor(getFunctor<
Real>(
"functor")),
31 _factor(getFunctor<
Real>(
"factor")),
39 "The variable must be a non-vector, non-array finite-volume/finite-element variable.");
41 const auto & functor_name = getParam<MooseFunctorName>(
"functor");
const bool _is_standard_fv
Whether the variable is a standard finite volume variable.
static const std::set< SubdomainID > undefined_subdomain_connection
A static member that can be used when the connection of a node to subdomains is unknown.
Class for stuff related to variables.
void paramError(const std::string ¶m, Args... args) const
Emits an error prefixed with the file and line number of the given param (from the input file) along ...
registerMooseObject("MooseApp", FunctorAux)
Evaluate a functor (functor material property, function or variable) with either a cell-center...
const Node *const & _current_node
Current node (valid only for nodal kernels)
Moose::StateArg determineState() const
Create a functor state argument that corresponds to the implicit state of this object.
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...
registerMooseObjectRenamed("MooseApp", FunctorElementalAux, "10/14/2024 00:00", FunctorAux)
const UserObjectBase & getUserObjectBaseByName(const UserObjectName &object_name, bool is_dependency=true) const
Get an user object with the name object_name.
Argument for requesting functor evaluation at a quadrature point location in an element.
static InputParameters validParams()
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const QBase *const & _qrule
Quadrature rule being used.
const Moose::Functor< Real > & _functor
Functor to evaluate with the element argument.
const Moose::Functor< Real > & _factor
Factor to multiply the functor with.
const Elem *const & _current_elem
Current element (valid only for elemental kernels)
unsigned int _qp
Quadrature point index.
virtual Real computeValue() override
Compute and return the value of the aux variable.
static InputParameters validParams()
Base class for creating new auxiliary kernels and auxiliary boundary conditions.
This class provides variable solution values for other classes/objects to bind to when looping over f...
FunctorAux(const InputParameters ¶meters)
const MooseArray< Point > & _q_point
Active quadrature points.
This class provides variable solution interface for linear finite volume problems.
const bool _is_standard_fe
Whether the variable is a standard finite element variable.
bool hasUserObjectByName(const UserObjectName &object_name) const
bool isNodal() const
Nodal or elemental kernel?