KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
Functions
AuxiliaryHashCombine Namespace Reference

Functions

template<class TClassType >
void HashCombine (std::size_t &rSeed, const TClassType &rValue)
 This method creates an "unique" hash for the input value. More...
 

Function Documentation

◆ HashCombine()

template<class TClassType >
void AuxiliaryHashCombine::HashCombine ( std::size_t &  rSeed,
const TClassType &  rValue 
)
inline

This method creates an "unique" hash for the input value.

It comes from boost, taken from here: https://www.boost.org/doc/libs/1_55_0/doc/html/hash/reference.html#boost.hash_combine

Template Parameters
TClassTypeThe type of class to be hashed
Parameters
rSeedThis is the seed used to create the hash
rValueThis is the value to be hashed
Todo:
Once the hashers and comparors are moved from key_hash.h, include key_hash and remove this. Right now there is a cross inclussion