27 virtual void execute()
override;
virtual void execute() override
Execute method.
bool _node_found
Whether the nearest node on this processor has been found (this is used to reduce unnecessary re-comp...
virtual void meshChanged() override
Called on this object when the mesh changes.
dof_id_type _overall_best_id
Node number of closest node, over the whole mesh.
const Node * getClosestNode() const
Returns a const pointer to the closest node over the entire mesh, if that node is owned by this proce...
A user object that runs over all the nodes and does an aggregation step to compute a single value...
uint8_t processor_id_type
NearestNodeNumberUO(const InputParameters ¶meters)
Finds the nearest node to a given point.
virtual void threadJoin(const UserObject &y) override
Must override.
virtual void initialize() override
Called before execute() is ever called so that data can be cleared.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual void finalize() override
Finalize.
const InputParameters & parameters() const
Get the parameters of the object.
Real _min_distance
Minimum distance for nodes on this processor.
dof_id_type getClosestNodeId() const
Returns the ID of the nearest node.
const Node * _closest_node
Nearest node on this processor.
const Point & _point
The point.
Base class for user-specific data.
static InputParameters validParams()
const processor_id_type _my_pid
processor ID of this object