Nektar++
Public Member Functions | List of all members
VertexHash Struct Reference

Hash function for the Vertex struct used for defining sets. More...

Inheritance diagram for VertexHash:
[legend]

Public Member Functions

std::size_t operator() (VertexSharedPtr const &p) const
 

Detailed Description

Hash function for the Vertex struct used for defining sets.

Definition at line 69 of file VtkToFld.cpp.

Member Function Documentation

◆ operator()()

std::size_t VertexHash::operator() ( VertexSharedPtr const &  p) const
inline

Definition at line 71 of file VtkToFld.cpp.

72  {
73  return hash_combine(p->x, p->y, p->z);
74  }
void hash_combine(std::size_t &seed)
Definition: HashUtils.hpp:46

References Nektar::hash_combine(), and CellMLToNektar.cellml_metadata::p.