Nektar++
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Friends | List of all members
Nektar::StdRegions::StdFacKey Struct Reference

#include <StdExpansion.h>

Public Member Functions

 StdFacKey (StdFacType type, LibUtilities::BasisKey bKey)
 

Public Attributes

StdFacType m_stdFacType
 
LibUtilities::BasisKey m_basisKey
 

Friends

bool operator< (const StdFacKey &lhs, const StdFacKey &rhs)
 
std::ostream & operator<< (std::ostream &os, const StdFacKey &rhs)
 

Detailed Description

Definition at line 69 of file StdExpansion.h.

Constructor & Destructor Documentation

◆ StdFacKey()

Nektar::StdRegions::StdFacKey::StdFacKey ( StdFacType  type,
LibUtilities::BasisKey  bKey 
)
inline

Definition at line 72 of file StdExpansion.h.

73 : m_stdFacType(type), m_basisKey(bKey) {};
LibUtilities::BasisKey m_basisKey

Friends And Related Symbol Documentation

◆ operator<

bool operator< ( const StdFacKey lhs,
const StdFacKey rhs 
)
friend

Definition at line 75 of file StdExpansion.h.

76 {
77 if (lhs.m_stdFacType < rhs.m_stdFacType)
78 {
79 return true;
80 }
81
82 if (lhs.m_stdFacType > rhs.m_stdFacType)
83 {
84 return false;
85 }
86
87 return (lhs.m_basisKey < rhs.m_basisKey);
88 }

◆ operator<<

std::ostream & operator<< ( std::ostream &  os,
const StdFacKey rhs 
)
friend

Definition at line 90 of file StdExpansion.h.

91 {
92 os << "Failed to fine a Create StdFac method for factor "
93 << rhs.m_stdFacType << std::endl;
94
95 return os;
96 }

Member Data Documentation

◆ m_basisKey

LibUtilities::BasisKey Nektar::StdRegions::StdFacKey::m_basisKey

Definition at line 99 of file StdExpansion.h.

◆ m_stdFacType

StdFacType Nektar::StdRegions::StdFacKey::m_stdFacType

Definition at line 98 of file StdExpansion.h.