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!");
29 :
AuxKernel(parameters), _user_object(getUserObjectBase(
"user_object"))
const Node *const & _current_node
Current node (valid only for nodal kernels)
Function auxiliary value.
const UserObject & _user_object
UserObject to be queried for a value.
virtual Real computeValue() override
Compute and return the value of the aux variable.
registerMooseObject("MooseApp", SpatialUserObjectAux)
static InputParameters validParams()
virtual Real spatialValue(const Point &) const
Optional interface function for "evaluating" a UserObject at a spatial position.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
SpatialUserObjectAux(const InputParameters ¶meters)
Factory constructor, takes parameters so that all derived classes can be built using the same constru...
const Elem *const & _current_elem
Current element (valid only for elemental kernels)
static InputParameters validParams()
bool isNodal() const
Nodal or elemental kernel?