Go to the documentation of this file.
23 "The UserObject UserObject to get values from. Note that the UserObject "
24 "_must_ implement the spatialValue() virtual function!");
29 :
AuxKernel(parameters), _user_object(getUserObjectBase(
"user_object"))
static InputParameters validParams()
virtual Real spatialValue(const Point &) const
Optional interface function for "evaluating" a UserObject at a spatial position.
Base class for creating new auxiliary kernels and auxiliary boundary conditions.
const UserObject & _user_object
UserObject to be queried for a value.
SpatialUserObjectAux(const InputParameters ¶meters)
Factory constructor, takes parameters so that all derived classes can be built using the same constru...
registerMooseObject("MooseApp", SpatialUserObjectAux)
const Elem *const & _current_elem
Current element (valid only for elemental kernels)
static InputParameters validParams()
bool isNodal() const
Nodal or elemental kernel?
Function auxiliary value.
const Node *const & _current_node
Current node (valid only for nodal kernels)
defineLegacyParams(SpatialUserObjectAux)
virtual Real computeValue() override
Compute and return the value of the aux variable.