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>

Inheritance diagram for Nektar::Utilities::ElmtConfigHash:
Inheritance graph
Collaboration diagram for Nektar::Utilities::ElmtConfigHash:
Collaboration graph

Public Member Functions

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

Detailed Description

Definition at line 48 of file OutputGmsh.h.

Member Function Documentation

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

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  }