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 47 of file Expansion0D.h.

◆ Expansion0DVector

Definition at line 48 of file Expansion0D.h.

◆ Expansion1DSharedPtr

Definition at line 50 of file Expansion1D.h.

◆ Expansion1DVector

Definition at line 52 of file Expansion1D.h.

◆ Expansion1DWeakPtr

Definition at line 51 of file Expansion1D.h.

◆ Expansion2DSharedPtr

Definition at line 46 of file Expansion1D.h.

◆ Expansion2DVector

Definition at line 53 of file Expansion2D.h.

◆ Expansion2DWeakPtr

Definition at line 47 of file Expansion1D.h.

◆ Expansion3DSharedPtr

Definition at line 47 of file Expansion2D.h.

◆ Expansion3DVector

Definition at line 53 of file Expansion3D.h.

◆ Expansion3DWeakPtr

Definition at line 48 of file Expansion2D.h.

◆ ExpansionSharedPtr

Definition at line 66 of file Expansion.h.

◆ ExpansionVector

Definition at line 68 of file Expansion.h.

◆ ExpansionWeakPtr

Definition at line 67 of file Expansion.h.

◆ HexExpSharedPtr

Definition at line 258 of file HexExp.h.

◆ HexExpVector

Definition at line 259 of file HexExp.h.

◆ IndexMapKeySharedPtr

Definition at line 125 of file IndexMapKey.h.

◆ IndexMapValues

Definition at line 53 of file IndexMapKey.h.

◆ IndexMapValuesSharedPtr

Definition at line 126 of file IndexMapKey.h.

◆ MetricMap

Definition at line 69 of file Expansion.h.

◆ NodalTriExpSharedPtr

Definition at line 374 of file NodalTriExp.h.

◆ NodalTriExpVector

Definition at line 375 of file NodalTriExp.h.

◆ NormalVector

Definition at line 53 of file Expansion.h.

◆ PointExpSharedPtr

Definition at line 132 of file PointExp.h.

◆ PointExpVector

Definition at line 133 of file PointExp.h.

◆ PrismExpSharedPtr

Definition at line 207 of file PrismExp.h.

◆ PrismExpVector

Definition at line 208 of file PrismExp.h.

◆ PyrExpSharedPtr

Definition at line 183 of file PyrExp.h.

◆ PyrExpVector

Definition at line 184 of file PyrExp.h.

◆ QuadExpSharedPtr

Definition at line 255 of file QuadExp.h.

◆ QuadExpVector

Definition at line 256 of file QuadExp.h.

◆ SegExpSharedPtr

Definition at line 248 of file SegExp.h.

◆ SegExpVector

Definition at line 249 of file SegExp.h.

◆ TetExpSharedPtr

Definition at line 212 of file TetExp.h.

◆ TetExpVector

Definition at line 213 of file TetExp.h.

◆ TriExpSharedPtr

Definition at line 250 of file TriExp.h.

◆ TriExpVector

Definition at line 251 of file TriExp.h.

Enumeration Type Documentation

◆ BndToLocMatrixMapType

Enumerator
eBndToFullMatrixCG 
eBndToBndMatrixCG 
eBndToTraceMatrixDG 

Definition at line 1973 of file Expansion2D.cpp.

◆ GeomState

Enumerator
eNotFilled 
ePtsFilled 

Definition at line 41 of file LocalRegions.hpp.

◆ IndexMapType

Enumerator
eEdgeToElement 
eFaceToElement 
eEdgeInterior 
eFaceInterior 
eBoundary 
eVertex 

Definition at line 78 of file LocalRegions.hpp.

◆ MetricType

Enumerator
eMetricLaplacian00 
eMetricLaplacian01 
eMetricLaplacian02 
eMetricLaplacian11 
eMetricLaplacian12 
eMetricLaplacian22 
eMetricQuadrature 

Definition at line 55 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 53 of file LocalRegions.hpp.

55{
56
57 InputIterator val;
58
59 if (startingpoint == first)
60 {
61 val = find(first, last, value);
62 }
63 else
64 {
65 val = find(startingpoint, last, value);
66 if (val == last)
67 {
68 val = find(first, startingpoint, value);
69 if (val == startingpoint)
70 {
71 val = last;
72 }
73 }
74 }
75 return val;
76}
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 71 of file IndexMapKey.cpp.

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

◆ operator<() [2/2]

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

Definition at line 73 of file MatrixKey.cpp.

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

◆ operator<<()

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

Definition at line 184 of file IndexMapKey.cpp.

185{
186 os << "IndexMapType: " << IndexMapTypeMap[rhs.GetIndexMapType()]
187 << std::endl;
188 return os;
189}
IndexMapType GetIndexMapType() const
Definition: IndexMapKey.h:89
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 144 of file IndexMapKey.cpp.

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

Variable Documentation

◆ IndexMapTypeMap

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

Definition at line 88 of file LocalRegions.hpp.

Referenced by operator<<().

◆ NullPointExpSharedPtrArray

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

Definition at line 135 of file PointExp.h.