libMesh
Loading...
Searching...
No Matches
Public Member Functions | List of all members
std::hash< libMesh::Point > Struct Reference

#include <point.h>

Public Member Functions

std::size_t operator() (const libMesh::Point &p) const
 

Detailed Description

Definition at line 98 of file point.h.

Member Function Documentation

◆ operator()()

std::size_t std::hash< libMesh::Point >::operator() ( const libMesh::Point p) const
inline

Definition at line 100 of file point.h.

101 {
102 std::size_t seed = 0;
103 for (int d=0; d != LIBMESH_DIM; ++d)
104 libMesh::boostcopy::hash_combine(seed, std::hash<libMesh::Real>()(p(d)));
105 return seed;
106 }
void hash_combine(std::size_t &seed, const T &value)
Definition hashing.h:34

References libMesh::boostcopy::hash_combine().


The documentation for this struct was generated from the following file: