19 params.
addClassDescription(
"Populates an auxiliary variable with a spatial value returned from a "
20 "UserObject spatialValue method.");
23 "The UserObject UserObject to get values from. Note that the UserObject "
24 "_must_ implement the spatialValue() virtual function!");
registerMooseObject("MooseApp", SpatialUserObjectAux)
bool isNodal() const
Nodal or elemental kernel?
const Elem *const & _current_elem
Current element (valid only for elemental kernels)
const Node *const & _current_node
Current node (valid only for nodal kernels)
static InputParameters validParams()
Function auxiliary value.
SpatialUserObjectAux(const InputParameters ¶meters)
Factory constructor, takes parameters so that all derived classes can be built using the same constru...
const UserObject & _user_object
UserObject to be queried for a value.
static InputParameters validParams()
virtual Real computeValue() override
Compute and return the value of the aux variable.
Base class for user-specific data.
virtual Real spatialValue(const Point &) const
Optional interface function for "evaluating" a UserObject at a spatial position.