Nektar++
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
Nektar::Utilities::ElmtConfigHash Struct Reference

#include <OutputGmsh.h>

Public Member Functions

std::size_t operator() (ElmtConfig const &el) const

Detailed Description

Definition at line 47 of file OutputGmsh.h.

Member Function Documentation

std::size_t Nektar::Utilities::ElmtConfigHash::operator() ( ElmtConfig const &  el) const
inline

Definition at line 49 of file OutputGmsh.h.

References Nektar::Utilities::ElmtConfig::m_e, Nektar::Utilities::ElmtConfig::m_faceNodes, Nektar::Utilities::ElmtConfig::m_order, and Nektar::Utilities::ElmtConfig::m_volumeNodes.

{
std::size_t seed = 0;
boost::hash_combine(seed, (int)el.m_e );
boost::hash_combine(seed, el.m_faceNodes );
boost::hash_combine(seed, el.m_volumeNodes);
boost::hash_combine(seed, el.m_order );
return seed;
}