template<std::size_t N>
Hash struct
| Template parameters | |
|---|---|
| N | Number of nodes describing element primitive. E.g., Edge:2, Face:3, Tet:4. |
Contents
- Reference
Hash function class for element primitives, given by node IDs
Public functions
- auto operator()(const std::array<std::size_t, N>& p) const -> std::size_t
Function documentation
template<std::size_t N>
std::size_t tk:: UnsMesh:: Hash<N>:: operator()(const std::array<std::size_t, N>& p) const
| Parameters | |
|---|---|
| p in | Array of node IDs of element primitive |
| Returns | Unique hash value for the same array of node IDs |
Function call operator computing hash of node IDs