14 #include "libmesh/parallel.h" 38 mooseError(
name(),
" does not satisfy the Spatial UserObject interface!");
49 mooseError(
"Spatial UserObject interface is not satisfied; spatialPoints() must be overridden");
void setPrimaryThreadCopy(UserObject *primary)
virtual const std::vector< Point > spatialPoints() const
Optional interface function for providing the points at which a UserObject attains spatial values...
UserObject * primaryThreadCopy()
UserObject * _primary_thread_copy
virtual void execute()=0
Execute method.
const std::string & name() const
Get the name of the class.
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
const Moose::CoordinateSystemType & _coord_sys
Coordinate system.
UserObject(const InputParameters ¶ms)
void mooseError(Args &&... args) const
Emits an error prefixed with object name and type and optionally a file path to the top-level block p...
Base class for user-specific data.
virtual void threadJoin(const UserObject &uo)=0
Must override.
static InputParameters validParams()