20 #ifndef LIBMESH_TOPOLOGY_MAP_H 21 #define LIBMESH_TOPOLOGY_MAP_H 28 #include <unordered_map> 43 template <
typename T1,
typename T2>
44 std::size_t
operator()(
const std::pair<T1, T2> & x)
const 48 return 3 * std::hash<T1>()(x.first) + std::hash<T2>()(x.second);
84 std::pair<dof_id_type, dof_id_type>> &
93 std::pair<dof_id_type, dof_id_type>> &
94 bracketing_nodes)
const;
106 #endif // LIBMESH_TOPOLOGY_MAP_H Enables topology-based lookups of nodes.
std::unordered_map< std::pair< dof_id_type, dof_id_type >, dof_id_type, myhash > map_type
A geometric point in (x,y,z) space associated with a DOF.
dof_id_type find(dof_id_type bracket_node1, dof_id_type bracket_node2) const
void add_node(const Node &mid_node, const std::vector< std::pair< dof_id_type, dof_id_type >> &bracketing_nodes)
void fill(const MeshBase &)
std::size_t operator()(const std::pair< T1, T2 > &x) const