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

#include <OutputGmsh.h>

Inheritance diagram for Nektar::Utilities::ElmtConfigHash:
Inheritance graph
[legend]
Collaboration diagram for Nektar::Utilities::ElmtConfigHash:
Collaboration graph
[legend]

Public Member Functions

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

Detailed Description

Definition at line 48 of file OutputGmsh.h.

Member Function Documentation

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

Definition at line 50 of file OutputGmsh.h.

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

51  {
52  std::size_t seed = 0;
53  boost::hash_combine(seed, (int)el.m_e );
54  boost::hash_combine(seed, el.m_faceNodes );
55  boost::hash_combine(seed, el.m_volumeNodes);
56  boost::hash_combine(seed, el.m_order );
57  return seed;
58  }