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

Classes

class  Expansion
 
class  Expansion0D
 
class  Expansion1D
 
class  Expansion2D
 
class  Expansion3D
 
class  HexExp
 
struct  IndexValue
 
class  IndexMapKey
 
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 56 of file Expansion2D.h.

◆ Expansion2DWeakPtr

Definition at line 49 of file Expansion1D.h.

◆ Expansion3DSharedPtr

Definition at line 50 of file Expansion2D.h.

◆ Expansion3DVector

Definition at line 55 of file Expansion3D.h.

◆ Expansion3DWeakPtr

Definition at line 51 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 58 of file HexExp.h.

◆ HexExpVector

Definition at line 59 of file HexExp.h.

◆ IndexMapKeySharedPtr

Definition at line 125 of file IndexMapKey.h.

◆ IndexMapValues

Definition at line 55 of file IndexMapKey.h.

◆ IndexMapValuesSharedPtr

Definition at line 126 of file IndexMapKey.h.

◆ MetricMap

Definition at line 71 of file Expansion.h.

◆ NodalTriExpSharedPtr

Definition at line 388 of file NodalTriExp.h.

◆ NodalTriExpVector

Definition at line 389 of file NodalTriExp.h.

◆ NormalVector

Definition at line 55 of file Expansion.h.

◆ PointExpSharedPtr

Definition at line 129 of file PointExp.h.

◆ PointExpVector

Definition at line 130 of file PointExp.h.

◆ PrismExpSharedPtr

Definition at line 223 of file PrismExp.h.

◆ PrismExpVector

Definition at line 224 of file PrismExp.h.

◆ PyrExpSharedPtr

Definition at line 195 of file PyrExp.h.

◆ PyrExpVector

Definition at line 196 of file PyrExp.h.

◆ QuadExpSharedPtr

Definition at line 293 of file QuadExp.h.

◆ QuadExpVector

Definition at line 294 of file QuadExp.h.

◆ SegExpSharedPtr

Definition at line 272 of file SegExp.h.

◆ SegExpVector

Definition at line 273 of file SegExp.h.

◆ TetExpSharedPtr

Definition at line 230 of file TetExp.h.

◆ TetExpVector

Definition at line 231 of file TetExp.h.

◆ TriExpSharedPtr

Definition at line 297 of file TriExp.h.

◆ TriExpVector

Definition at line 298 of file TriExp.h.

Enumeration Type Documentation

◆ BndToLocMatrixMapType

Enumerator
eBndToFullMatrixCG 
eBndToBndMatrixCG 
eBndToTraceMatrixDG 

Definition at line 1289 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 81 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.

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

◆ operator<() [1/2]

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

Definition at line 89 of file IndexMapKey.cpp.

90  {
91  if(lhs.m_indexMapType < rhs.m_indexMapType)
92  {
93  return true;
94  }
95 
96  if(lhs.m_indexMapType > rhs.m_indexMapType)
97  {
98  return false;
99  }
100 
101  if(lhs.m_shapeType < rhs.m_shapeType)
102  {
103  return true;
104  }
105  if(lhs.m_shapeType > rhs.m_shapeType)
106  {
107  return false;
108  }
109 
110  if(lhs.m_p < rhs.m_p)
111  {
112  return true;
113  }
114  if(lhs.m_p > rhs.m_p)
115  {
116  return false;
117  }
118 
119  if(lhs.m_q < rhs.m_q)
120  {
121  return true;
122  }
123  if(lhs.m_q > rhs.m_q)
124  {
125  return false;
126  }
127 
128  if(lhs.m_r < rhs.m_r)
129  {
130  return true;
131  }
132  if(lhs.m_r > rhs.m_r)
133  {
134  return false;
135  }
136 
137  if(lhs.m_entityID < rhs.m_entityID)
138  {
139  return true;
140  }
141  if(lhs.m_entityID > rhs.m_entityID)
142  {
143  return false;
144  }
145 
146  if(lhs.m_orientation < rhs.m_orientation)
147  {
148  return true;
149  }
150  if(lhs.m_orientation > rhs.m_orientation)
151  {
152  return false;
153  }
154 
155  return false;
156  }

◆ operator<() [2/2]

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

Definition at line 72 of file MatrixKey.cpp.

73  {
74  if(lhs.m_metricinfo.get() < rhs.m_metricinfo.get())
75  {
76  return true;
77  }
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  }

◆ operator<<()

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

Definition at line 198 of file IndexMapKey.cpp.

199  {
200  os << "IndexMapType: " << IndexMapTypeMap[rhs.GetIndexMapType()]
201  << std::endl;
202  return os;
203  }
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 158 of file IndexMapKey.cpp.

159  {
160  if(lhs.m_indexMapType != rhs.m_indexMapType)
161  {
162  return false;
163  }
164 
165  if(lhs.m_shapeType != rhs.m_shapeType)
166  {
167  return false;
168  }
169 
170  if(lhs.m_p != rhs.m_p)
171  {
172  return false;
173  }
174 
175  if(lhs.m_q != rhs.m_q)
176  {
177  return false;
178  }
179 
180  if(lhs.m_r != rhs.m_r)
181  {
182  return false;
183  }
184 
185  if(lhs.m_entityID != rhs.m_entityID)
186  {
187  return false;
188  }
189 
190  if(lhs.m_orientation != rhs.m_orientation)
191  {
192  return false;
193  }
194 
195  return true;
196  }

Variable Documentation

◆ IndexMapTypeMap

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

Definition at line 91 of file LocalRegions.hpp.

Referenced by operator<<().

◆ NullPointExpSharedPtrArray

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

Definition at line 132 of file PointExp.h.