Class documentation of Concepts

Loading...
Searching...
No Matches
hexFunctions.hh
Go to the documentation of this file.
1
6#ifndef hexFunctions_hh
7#define hexFunctions_hh
8
10#include "basics/typedefs.hh"
11#include "basics/Zm.hh"
12
13namespace concepts {
14
15 // forward declaration
16 class Hexahedron;
17
18}
19
20namespace hp3D {
21
22 // ********************************************************** HexFunctions **
23
28 public:
36 static void edgeOrientation(const uint i,
37 uint& pIndex, uint& qIndex, uint& rIndex);
38
49 static void faceOrientation(const concepts::Hexahedron& cntr, const uint i,
50 uint& pIndex, uint& qIndex, uint& rIndex);
51
60 const uint i,
61 bool& flip0, bool& flip1);
62
66 static void vertexIndex(const uint i, uint ll[3]);
67
73 static void edgeIndex(const uint i, const uint qIndex, const uint rIndex,
74 uint ll[3]);
75
80 static void faceIndex(const uint i, const uint rIndex, uint ll[3]);
81
86 static uint index(const uint ll[3], const ushort p[3]) {
87 // copy'n paste from TColumnTensor::operator[]
88 return ll[0]+ll[1]*(1+p[0])+ll[2]*(1+p[0])*(1+p[1]);
89 }
101 static concepts::Real2d coordTransInv(const concepts::Real x,const concepts::Real y, uint k, concepts::Z2 r, concepts::Z4 t);
102
109 static const concepts::ushort* setDegreeHex2Quad(const ushort* p, uint k, concepts::Z4 tau);
110 };
111
112
113
114} // namespace hp3D
115
116#endif // hexFunctions_hh
static concepts::Real2d coordTrans(const concepts::Real x, const concepts::Real y, uint k, concepts::Z2 r, concepts::Z4 t)
static void faceShapefctOrientation(const concepts::Hexahedron &cntr, const uint i, bool &flip0, bool &flip1)
static uint index(const uint ll[3], const ushort p[3])
static void vertexIndex(const uint i, uint ll[3])
static const concepts::ushort * setDegreeHex2Quad(const ushort *p, uint k, concepts::Z4 tau)
static void edgeOrientation(const uint i, uint &pIndex, uint &qIndex, uint &rIndex)
static void edgeIndex(const uint i, const uint qIndex, const uint rIndex, uint ll[3])
static void faceOrientation(const concepts::Hexahedron &cntr, const uint i, uint &pIndex, uint &qIndex, uint &rIndex)
static void faceIndex(const uint i, const uint rIndex, uint ll[3])
double Real
Definition typedefs.hh:39
unsigned short ushort
Abbreviation for unsigned short.
Definition typedefs.hh:51
Definition meshDX.hh:23