Nektar++
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() (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.

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