Class documentation of Concepts

Loading...
Searching...
No Matches
quadFunctions.hh
Go to the documentation of this file.
1
6#ifndef quadFunctions_hh
7#define quadFunctions_hh
8
9#include "basics/typedefs.hh"
10
11namespace concepts {
12 // forward declaration
13 class Quad;
14}
15
16namespace hp2D {
17
18 // ********************************************************* QuadFunctions **
19
24 public:
32 static void edgeOrientation(const uint i, uint& pIndex, uint& qIndex);
33
37 static void vertexIndex(const uint i, uint ll[2]);
38
44 static void edgeIndex(const uint i, const uint qIndex, uint ll[2]);
45
50 static uint index(const uint ll[2], const ushort p[2]) {
51 // copy'n paste from TColumnTensor::operator[]
52 return ll[0]+ll[1]*(1+p[0]);
53 }
54 };
55
56 // ************************************************* InfiniteQuadFunctions **
57
63 public:
67 static void vertexIndex(const uint i, uint ll[2]);
68
73 static void edgeIndex(const uint i, uint ll[2]);
74
79 static uint index(const uint ll[2], const ushort p[2]) {
80 // copy'n paste from TColumnTensor::operator[]
81 return ll[0]+ll[1]*(1+p[0]);
82 }
83 };
84
85
86} // namespace hp2D
87
88#endif // quadFunctions_hh
static void edgeIndex(const uint i, uint ll[2])
static uint index(const uint ll[2], const ushort p[2])
static void vertexIndex(const uint i, uint ll[2])
static uint index(const uint ll[2], const ushort p[2])
static void edgeIndex(const uint i, const uint qIndex, uint ll[2])
static void vertexIndex(const uint i, uint ll[2])
static void edgeOrientation(const uint i, uint &pIndex, uint &qIndex)