https://mooseframework.inl.gov
Loading...
Searching...
No Matches
Namespaces | Typedefs | Functions
Hashing.h File Reference

Go to the source code of this file.

Namespaces

namespace  hashing
 This namespace provides efficient algorithms for quickly hashing different types for checking identity with a very low collision probability.
 

Typedefs

typedef std::size_t hashing::HashValue
 

Functions

void hashing::hashCombine (HashValue &)
 Final iteration of the variadic template with no additional arguments.
 
template<class T , class... Rest>
void hashing::hashCombine (HashValue &seed, const T &value, Rest... rest)
 Variadic template to hashing a combination with finite size see: https://stackoverflow.com/a/38140932.
 
template<class Container >
HashValue hashing::hashLargeContainer (Container const &container)
 Hash function for sampling 10 points from a large container and hashing see: https://stackoverflow.com/a/37007715.
 
HashValue hashing::hashCombine (const libMesh::Point &point)
 Hashing for Point.
 
HashValue hashing::hashCombine (Real time, const libMesh::Point &point)
 Hashing for Point and time, useful for Functions.