29 const std::vector<dof_id_type> & trial_primary_nodes,
30 const std::unordered_map<dof_id_type, std::vector<dof_id_type>> & node_to_elem_map,
31 const unsigned int patch_size,
MooseMesh wraps a libMesh::Mesh object and enhances its capabilities by caching additional data and s...
Finds the nearest node to each node in boundary1 to each node in boundary2 and the other way around.
std::set< dof_id_type > _ghosted_elems
Elements that we need to ghost.
const std::vector< dof_id_type > & _trial_primary_nodes
Nodes to search against.
void operator()(const NodeIdRange &range)
Save a patch of nodes that are close to each of the secondary nodes to speed the search algorithm TOD...
const std::unordered_map< dof_id_type, std::vector< dof_id_type > > & _node_to_elem_map
Node to elem map.
std::map< dof_id_type, std::vector< dof_id_type > > _neighbor_nodes
The neighborhood nodes associated with each node.
unsigned int _patch_size
The number of nodes to keep.
void join(const SecondaryNeighborhoodThread &other)
const MooseMesh & _mesh
The Mesh.
std::vector< dof_id_type > _secondary_nodes
List of the secondary nodes we're actually going to keep track of.