Nektar++
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 60 of file VtkToFld.cpp.

Member Function Documentation

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

Definition at line 62 of file VtkToFld.cpp.

{
std::size_t seed = 0;
boost::hash_combine(seed, p -> x);
boost::hash_combine(seed, p -> y);
boost::hash_combine(seed, p -> z);
return seed;
}