Nektar++
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Private Attributes | Friends | List of all members
Nektar::LibUtilities::ModeIndexKey Class Reference

#include <ModeIndexDataWarehouse.hpp>

Inheritance diagram for Nektar::LibUtilities::ModeIndexKey:
[legend]

Public Types

using creator = ModeIndexCreator
 
typedef unsigned int value_type
 

Public Member Functions

 ~ModeIndexKey () override=default
 
 ModeIndexKey (const ShapeType shapeType, const unsigned int nm0, const unsigned int nm1, const unsigned int mode)
 
 ModeIndexKey (const ShapeType shapeType, const unsigned int nm0, const unsigned int nm1, const unsigned int nm2, const unsigned int mode)
 
- Public Member Functions inherited from Nektar::LibUtilities::BaseKey
virtual ~BaseKey ()=default
 
size_t GetHash (void) const
 

Private Attributes

ShapeType m_shapeType
 
unsigned int m_nm0 = 0
 
unsigned int m_nm1 = 0
 
unsigned int m_nm2 = 0
 
unsigned int m_mode
 

Friends

class ModeIndexCreator
 

Additional Inherited Members

- Protected Attributes inherited from Nektar::LibUtilities::BaseKey
size_t m_hash = 0
 

Detailed Description

Definition at line 45 of file ModeIndexDataWarehouse.hpp.

Member Typedef Documentation

◆ creator

Definition at line 50 of file ModeIndexDataWarehouse.hpp.

◆ value_type

Definition at line 51 of file ModeIndexDataWarehouse.hpp.

Constructor & Destructor Documentation

◆ ~ModeIndexKey()

Nektar::LibUtilities::ModeIndexKey::~ModeIndexKey ( )
overridedefault

◆ ModeIndexKey() [1/2]

Nektar::LibUtilities::ModeIndexKey::ModeIndexKey ( const ShapeType  shapeType,
const unsigned int  nm0,
const unsigned int  nm1,
const unsigned int  mode 
)
inline

◆ ModeIndexKey() [2/2]

Nektar::LibUtilities::ModeIndexKey::ModeIndexKey ( const ShapeType  shapeType,
const unsigned int  nm0,
const unsigned int  nm1,
const unsigned int  nm2,
const unsigned int  mode 
)
inline

Definition at line 63 of file ModeIndexDataWarehouse.hpp.

66 : m_shapeType(shapeType), m_nm0(nm0), m_nm1(nm1), m_nm2(nm2),
67 m_mode(mode)
68 {
70 "ModeIndexKey");
71 }

References Nektar::hash_combine(), Nektar::LibUtilities::BaseKey::m_hash, m_mode, m_nm0, m_nm1, m_nm2, and m_shapeType.

Friends And Related Symbol Documentation

◆ ModeIndexCreator

friend class ModeIndexCreator
friend

Definition at line 47 of file ModeIndexDataWarehouse.hpp.

Member Data Documentation

◆ m_mode

unsigned int Nektar::LibUtilities::ModeIndexKey::m_mode
private

◆ m_nm0

unsigned int Nektar::LibUtilities::ModeIndexKey::m_nm0 = 0
private

◆ m_nm1

unsigned int Nektar::LibUtilities::ModeIndexKey::m_nm1 = 0
private

◆ m_nm2

unsigned int Nektar::LibUtilities::ModeIndexKey::m_nm2 = 0
private

◆ m_shapeType

ShapeType Nektar::LibUtilities::ModeIndexKey::m_shapeType
private