20 #ifndef __mast_sub_elem_node_map_h__ 21 #define __mast_sub_elem_node_map_h__ 24 #include <unordered_map> 28 #include "libmesh/mesh_base.h" 38 template <
typename T1,
typename T2>
39 std::size_t
operator()(
const std::pair<T1, T2> & x)
const 41 return 3 * std::hash<T1>()(x.first) + std::hash<T2>()(x.second);
54 <std::pair<libMesh::dof_id_type, libMesh::dof_id_type>,
73 count(libMesh::dof_id_type bracket_node1, libMesh::dof_id_type bracket_node2)
const;
76 std::pair<libMesh::Node*, libMesh::Node*>&
77 add(libMesh::dof_id_type bracket_node1, libMesh::dof_id_type bracket_node2);
89 #endif // __mast_sub_elem_node_map_h__ std::size_t operator()(const std::pair< T1, T2 > &x) const
virtual ~SubElemNodeMap()
MAST::SubElemNodeMap::map_type _map
unsigned int count(libMesh::dof_id_type bracket_node1, libMesh::dof_id_type bracket_node2) const
std::pair< libMesh::Node *, libMesh::Node * > & add(libMesh::dof_id_type bracket_node1, libMesh::dof_id_type bracket_node2)
std::unordered_map< std::pair< libMesh::dof_id_type, libMesh::dof_id_type >, std::pair< libMesh::Node *, libMesh::Node * >, MAST::SubElemNodeMap::myhash > map_type