Go to the documentation of this file.
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();
std::unordered_multiset< Elem *, ElemHashUtils, ElemHashUtils > unordered_multiset_elem
bool operator()(const Elem *lhs, const Elem *rhs) const
Satisfies the requirements of the "Pred" template parameter of the standard hash containers.
The libMesh namespace provides an interface to certain functionality in the library.
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.
std::size_t operator()(const Elem *elem) const
The "Hash" template argument.
virtual dof_id_type key(const unsigned int s) const =0