18 #ifndef LIBMESH_ELEM_HASH_H 19 #define LIBMESH_ELEM_HASH_H 24 #include <unordered_set> 58 return cast_int<std::size_t>(elem->
key());
72 return lhs->
key() == rhs->
key();
The ElemHashUtils struct defines functions used for the "Hash" and "Pred" template arguments of the v...
This is the base class from which all geometric element types are derived.
The libMesh namespace provides an interface to certain functionality in the library.
bool operator()(const Elem *lhs, const Elem *rhs) const
Satisfies the requirements of the "Pred" template parameter of the standard hash containers.
virtual dof_id_type key(const unsigned int s) const =0
std::size_t operator()(const Elem *elem) const
The "Hash" template argument.
std::unordered_multiset< Elem *, ElemHashUtils, ElemHashUtils > unordered_multiset_elem