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

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

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 103 of file VtkToFld.cpp.

Member Function Documentation

◆ operator()()

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

Definition at line 105 of file VtkToFld.cpp.

106 {
107 return hash_combine(p->x, p->y, p->z);
108 }
void hash_combine(std::size_t &seed)
Definition: HashUtils.hpp:44

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