Nektar++
Classes | Typedefs | Enumerations | Functions | Variables
Nektar::LocalRegions Namespace Reference

Classes

class  Expansion
 
class  Expansion0D
 
class  Expansion1D
 
class  Expansion2D
 
class  Expansion3D
 
class  HexExp
 
class  IndexMapKey
 
struct  IndexValue
 
class  LinSysKey
 
class  MatrixKey
 
class  NodalTetExp
 
class  NodalTriExp
 
class  PointExp
 
class  PrismExp
 
class  PyrExp
 
class  QuadExp
 
class  SegExp
 
class  TetExp
 
class  TriExp
 

Typedefs

typedef Array< OneD, Array< OneD, NekDouble > > NormalVector
 
typedef std::shared_ptr< ExpansionExpansionSharedPtr
 
typedef std::weak_ptr< ExpansionExpansionWeakPtr
 
typedef std::vector< ExpansionSharedPtrExpansionVector
 
typedef std::map< MetricType, Array< OneD, NekDouble > > MetricMap
 
typedef std::shared_ptr< Expansion0DExpansion0DSharedPtr
 
typedef std::vector< Expansion0DSharedPtrExpansion0DVector
 
typedef std::shared_ptr< Expansion2DExpansion2DSharedPtr
 
typedef std::weak_ptr< Expansion2DExpansion2DWeakPtr
 
typedef std::shared_ptr< Expansion1DExpansion1DSharedPtr
 
typedef std::weak_ptr< Expansion1DExpansion1DWeakPtr
 
typedef std::vector< Expansion1DSharedPtrExpansion1DVector
 
typedef std::shared_ptr< Expansion3DExpansion3DSharedPtr
 
typedef std::weak_ptr< Expansion3DExpansion3DWeakPtr
 
typedef std::vector< Expansion2DSharedPtrExpansion2DVector
 
typedef std::vector< Expansion3DSharedPtrExpansion3DVector
 
typedef std::shared_ptr< HexExpHexExpSharedPtr
 
typedef std::vector< HexExpSharedPtrHexExpVector
 
typedef Array< OneD, IndexValueIndexMapValues
 
typedef std::shared_ptr< IndexMapKeyIndexMapKeySharedPtr
 
typedef std::shared_ptr< IndexMapValuesIndexMapValuesSharedPtr
 
typedef std::shared_ptr< NodalTriExpNodalTriExpSharedPtr
 
typedef std::vector< NodalTriExpSharedPtrNodalTriExpVector
 
typedef std::shared_ptr< PointExpPointExpSharedPtr
 
typedef std::vector< PointExpSharedPtrPointExpVector
 
typedef std::shared_ptr< PrismExpPrismExpSharedPtr
 
typedef std::vector< PrismExpSharedPtrPrismExpVector
 
typedef std::shared_ptr< PyrExpPyrExpSharedPtr
 
typedef std::vector< PyrExpSharedPtrPyrExpVector
 
typedef std::shared_ptr< QuadExpQuadExpSharedPtr
 
typedef std::vector< QuadExpSharedPtrQuadExpVector
 
typedef std::shared_ptr< SegExpSegExpSharedPtr
 
typedef std::vector< SegExpSharedPtrSegExpVector
 
typedef std::shared_ptr< TetExpTetExpSharedPtr
 
typedef std::vector< TetExpSharedPtrTetExpVector
 
typedef std::shared_ptr< TriExpTriExpSharedPtr
 
typedef std::vector< TriExpSharedPtrTriExpVector
 

Enumerations

enum  MetricType {
  eMetricLaplacian00 , eMetricLaplacian01 , eMetricLaplacian02 , eMetricLaplacian11 ,
  eMetricLaplacian12 , eMetricLaplacian22 , eMetricQuadrature
}
 
enum  BndToLocMatrixMapType { eBndToFullMatrixCG , eBndToBndMatrixCG , eBndToTraceMatrixDG }
 
enum  GeomState { eNotFilled , ePtsFilled }
 
enum  IndexMapType {
  eEdgeToElement , eFaceToElement , eEdgeInterior , eFaceInterior ,
  eBoundary , eVertex
}
 

Functions

bool operator< (const IndexMapKey &lhs, const IndexMapKey &rhs)
 
bool operator== (const IndexMapKey &lhs, const IndexMapKey &rhs)
 
std::ostream & operator<< (std::ostream &os, const IndexMapKey &rhs)
 
template<class InputIterator , class EqualityComparable >
InputIterator find (InputIterator first, InputIterator last, InputIterator startingpoint, const EqualityComparable &value)
 
bool operator< (const MatrixKey &lhs, const MatrixKey &rhs)
 

Variables

const char *const IndexMapTypeMap []
 
static const Array< OneD, PointExpSharedPtrNullPointExpSharedPtrArray {}
 

Typedef Documentation

◆ Expansion0DSharedPtr

Definition at line 49 of file Expansion0D.h.

◆ Expansion0DVector

Definition at line 50 of file Expansion0D.h.

◆ Expansion1DSharedPtr

Definition at line 52 of file Expansion1D.h.

◆ Expansion1DVector

Definition at line 54 of file Expansion1D.h.

◆ Expansion1DWeakPtr

Definition at line 53 of file Expansion1D.h.

◆ Expansion2DSharedPtr

Definition at line 48 of file Expansion1D.h.

◆ Expansion2DVector

Definition at line 57 of file Expansion2D.h.

◆ Expansion2DWeakPtr

Definition at line 49 of file Expansion1D.h.

◆ Expansion3DSharedPtr

Definition at line 51 of file Expansion2D.h.

◆ Expansion3DVector

Definition at line 55 of file Expansion3D.h.

◆ Expansion3DWeakPtr

Definition at line 52 of file Expansion2D.h.

◆ ExpansionSharedPtr

Definition at line 68 of file Expansion.h.

◆ ExpansionVector

Definition at line 70 of file Expansion.h.

◆ ExpansionWeakPtr

Definition at line 69 of file Expansion.h.

◆ HexExpSharedPtr

Definition at line 260 of file HexExp.h.

◆ HexExpVector

Definition at line 261 of file HexExp.h.

◆ IndexMapKeySharedPtr

Definition at line 127 of file IndexMapKey.h.

◆ IndexMapValues

Definition at line 55 of file IndexMapKey.h.

◆ IndexMapValuesSharedPtr

Definition at line 128 of file IndexMapKey.h.

◆ MetricMap

Definition at line 71 of file Expansion.h.

◆ NodalTriExpSharedPtr

Definition at line 385 of file NodalTriExp.h.

◆ NodalTriExpVector

Definition at line 386 of file NodalTriExp.h.

◆ NormalVector

Definition at line 55 of file Expansion.h.

◆ PointExpSharedPtr

Definition at line 135 of file PointExp.h.

◆ PointExpVector

Definition at line 136 of file PointExp.h.

◆ PrismExpSharedPtr

Definition at line 209 of file PrismExp.h.

◆ PrismExpVector

Definition at line 210 of file PrismExp.h.

◆ PyrExpSharedPtr

Definition at line 185 of file PyrExp.h.

◆ PyrExpVector

Definition at line 186 of file PyrExp.h.

◆ QuadExpSharedPtr

Definition at line 258 of file QuadExp.h.

◆ QuadExpVector

Definition at line 259 of file QuadExp.h.

◆ SegExpSharedPtr

Definition at line 251 of file SegExp.h.

◆ SegExpVector

Definition at line 252 of file SegExp.h.

◆ TetExpSharedPtr

Definition at line 214 of file TetExp.h.

◆ TetExpVector

Definition at line 215 of file TetExp.h.

◆ TriExpSharedPtr

Definition at line 253 of file TriExp.h.

◆ TriExpVector

Definition at line 254 of file TriExp.h.

Enumeration Type Documentation

◆ BndToLocMatrixMapType

Enumerator
eBndToFullMatrixCG 
eBndToBndMatrixCG 
eBndToTraceMatrixDG 

Definition at line 1982 of file Expansion2D.cpp.

◆ GeomState

Enumerator
eNotFilled 
ePtsFilled 

Definition at line 43 of file LocalRegions.hpp.

◆ IndexMapType

Enumerator
eEdgeToElement 
eFaceToElement 
eEdgeInterior 
eFaceInterior 
eBoundary 
eVertex 

Definition at line 80 of file LocalRegions.hpp.

◆ MetricType

Enumerator
eMetricLaplacian00 
eMetricLaplacian01 
eMetricLaplacian02 
eMetricLaplacian11 
eMetricLaplacian12 
eMetricLaplacian22 
eMetricQuadrature 

Definition at line 57 of file Expansion.h.

Function Documentation

◆ find()

template<class InputIterator , class EqualityComparable >
InputIterator Nektar::LocalRegions::find ( InputIterator  first,
InputIterator  last,
InputIterator  startingpoint,
const EqualityComparable &  value 
)

Definition at line 55 of file LocalRegions.hpp.

57{
58
59 InputIterator val;
60
61 if (startingpoint == first)
62 {
63 val = find(first, last, value);
64 }
65 else
66 {
67 val = find(startingpoint, last, value);
68 if (val == last)
69 {
70 val = find(first, startingpoint, value);
71 if (val == startingpoint)
72 {
73 val = last;
74 }
75 }
76 }
77 return val;
78}
InputIterator find(InputIterator first, InputIterator last, InputIterator startingpoint, const EqualityComparable &value)

References find().

Referenced by find().

◆ operator<() [1/2]

bool Nektar::LocalRegions::operator< ( const IndexMapKey lhs,
const IndexMapKey rhs 
)

Definition at line 73 of file IndexMapKey.cpp.

74{
75 if (lhs.m_indexMapType < rhs.m_indexMapType)
76 {
77 return true;
78 }
79
80 if (lhs.m_indexMapType > rhs.m_indexMapType)
81 {
82 return false;
83 }
84
85 if (lhs.m_shapeType < rhs.m_shapeType)
86 {
87 return true;
88 }
89
90 if (lhs.m_shapeType > rhs.m_shapeType)
91 {
92 return false;
93 }
94
95 if (lhs.m_p < rhs.m_p)
96 {
97 return true;
98 }
99
100 if (lhs.m_p > rhs.m_p)
101 {
102 return false;
103 }
104
105 if (lhs.m_q < rhs.m_q)
106 {
107 return true;
108 }
109
110 if (lhs.m_q > rhs.m_q)
111 {
112 return false;
113 }
114
115 if (lhs.m_r < rhs.m_r)
116 {
117 return true;
118 }
119
120 if (lhs.m_r > rhs.m_r)
121 {
122 return false;
123 }
124
125 if (lhs.m_entityID < rhs.m_entityID)
126 {
127 return true;
128 }
129 if (lhs.m_entityID > rhs.m_entityID)
130 {
131 return false;
132 }
133
134 if (lhs.m_orientation < rhs.m_orientation)
135 {
136 return true;
137 }
138 if (lhs.m_orientation > rhs.m_orientation)
139 {
140 return false;
141 }
142
143 return false;
144}
LibUtilities::ShapeType m_shapeType
Definition: IndexMapKey.h:109
StdRegions::Orientation m_orientation
Definition: IndexMapKey.h:117

◆ operator<() [2/2]

bool Nektar::LocalRegions::operator< ( const MatrixKey lhs,
const MatrixKey rhs 
)

Definition at line 75 of file MatrixKey.cpp.

76{
77 if (lhs.m_metricinfo.get() < rhs.m_metricinfo.get())
78 {
79 return true;
80 }
81
82 if (lhs.m_metricinfo.get() > rhs.m_metricinfo.get())
83 {
84 return false;
85 }
86
87 return (*dynamic_cast<const StdRegions::StdMatrixKey *>(&lhs) <
88 *dynamic_cast<const StdRegions::StdMatrixKey *>(&rhs));
89}
SpatialDomains::GeomFactorsSharedPtr m_metricinfo
Definition: MatrixKey.h:90

◆ operator<<()

std::ostream & Nektar::LocalRegions::operator<< ( std::ostream &  os,
const IndexMapKey rhs 
)

Definition at line 186 of file IndexMapKey.cpp.

187{
188 os << "IndexMapType: " << IndexMapTypeMap[rhs.GetIndexMapType()]
189 << std::endl;
190 return os;
191}
IndexMapType GetIndexMapType() const
Definition: IndexMapKey.h:91
const char *const IndexMapTypeMap[]

References Nektar::LocalRegions::IndexMapKey::GetIndexMapType(), and IndexMapTypeMap.

◆ operator==()

bool Nektar::LocalRegions::operator== ( const IndexMapKey lhs,
const IndexMapKey rhs 
)

Definition at line 146 of file IndexMapKey.cpp.

147{
148 if (lhs.m_indexMapType != rhs.m_indexMapType)
149 {
150 return false;
151 }
152
153 if (lhs.m_shapeType != rhs.m_shapeType)
154 {
155 return false;
156 }
157
158 if (lhs.m_p != rhs.m_p)
159 {
160 return false;
161 }
162
163 if (lhs.m_q != rhs.m_q)
164 {
165 return false;
166 }
167
168 if (lhs.m_r != rhs.m_r)
169 {
170 return false;
171 }
172
173 if (lhs.m_entityID != rhs.m_entityID)
174 {
175 return false;
176 }
177
178 if (lhs.m_orientation != rhs.m_orientation)
179 {
180 return false;
181 }
182
183 return true;
184}

Variable Documentation

◆ IndexMapTypeMap

const char* const Nektar::LocalRegions::IndexMapTypeMap[]
Initial value:
= {"EdgeToElement", "FaceToElement",
"EdgeInterior", "FaceInterior",
"Boundary", "Vertex"}

Definition at line 90 of file LocalRegions.hpp.

Referenced by operator<<().

◆ NullPointExpSharedPtrArray

const Array<OneD, PointExpSharedPtr> Nektar::LocalRegions::NullPointExpSharedPtrArray {}
static

Definition at line 138 of file PointExp.h.