#include <hexFunctions.hh>
|
static void | edgeOrientation (const uint i, uint &pIndex, uint &qIndex, uint &rIndex) |
|
static void | faceOrientation (const concepts::Hexahedron &cntr, const uint i, uint &pIndex, uint &qIndex, uint &rIndex) |
|
static void | faceShapefctOrientation (const concepts::Hexahedron &cntr, const uint i, bool &flip0, bool &flip1) |
|
static void | vertexIndex (const uint i, uint ll[3]) |
|
static void | edgeIndex (const uint i, const uint qIndex, const uint rIndex, uint ll[3]) |
|
static void | faceIndex (const uint i, const uint rIndex, uint ll[3]) |
|
static uint | index (const uint ll[3], const ushort p[3]) |
|
static concepts::Real2d | coordTrans (const concepts::Real x, const concepts::Real y, uint k, concepts::Z2 r, concepts::Z4 t) |
|
static concepts::Real2d | coordTransInv (const concepts::Real x, const concepts::Real y, uint k, concepts::Z2 r, concepts::Z4 t) |
|
static const concepts::ushort * | setDegreeHex2Quad (const ushort *p, uint k, concepts::Z4 tau) |
|
Auxiliary functions for hexahedra.
- Author
- Philipp Frauenfelder, 2002
Definition at line 27 of file hexFunctions.hh.
◆ coordTrans()
Returns the x,y coordinate in the right order with corrected orientation such that physical coordinates on the Hexahedron and on the boundary coincide Real x - first coordinate Real y - second coordinate uint k - face Z2 r - orientation parameter rho Z4 t - quad parameter tau
◆ edgeIndex()
static void hp3D::HexFunctions::edgeIndex |
( |
const uint |
i, |
|
|
const uint |
qIndex, |
|
|
const uint |
rIndex, |
|
|
uint |
ll[3] |
|
) |
| |
|
static |
Computes the tensor product index ll
for an edge with index i
and precomputed indices qIndex
and rIndex
(use edgeOrientation to compute them).
- Returns
- ll
◆ edgeOrientation()
static void hp3D::HexFunctions::edgeOrientation |
( |
const uint |
i, |
|
|
uint & |
pIndex, |
|
|
uint & |
qIndex, |
|
|
uint & |
rIndex |
|
) |
| |
|
static |
Helps distributing the polynomial degree to the edges
- Parameters
-
i | Index of the edge [0..11] |
pIndex | Index of the polynomial degree of this edge in the array of the element |
qIndex,rIndex | Other indices |
- Returns
- pIndex, qIndex, rIndex
◆ faceIndex()
static void hp3D::HexFunctions::faceIndex |
( |
const uint |
i, |
|
|
const uint |
rIndex, |
|
|
uint |
ll[3] |
|
) |
| |
|
static |
Computes the tensor product index ll
for a face with index i
and precomputed index rIndex
(use faceOrientation to compute it).
- Returns
- ll
◆ faceOrientation()
static void hp3D::HexFunctions::faceOrientation |
( |
const concepts::Hexahedron & |
cntr, |
|
|
const uint |
i, |
|
|
uint & |
pIndex, |
|
|
uint & |
qIndex, |
|
|
uint & |
rIndex |
|
) |
| |
|
static |
Helps distributing the polynomial degree to the faces
- Parameters
-
cntr | Connector |
i | Index of the face [0..5] |
pIndex | Index of the first polynomial degree of this face in the array of the element |
qIndex | Index of the second polynomial degree of this face in the array of the element |
rIndex | Other index |
- Returns
- pIndex, qIndex, rIndex
◆ faceShapefctOrientation()
static void hp3D::HexFunctions::faceShapefctOrientation |
( |
const concepts::Hexahedron & |
cntr, |
|
|
const uint |
i, |
|
|
bool & |
flip0, |
|
|
bool & |
flip1 |
|
) |
| |
|
static |
Determines wether a shape function direction has to flip the sign for the odd degree polynomials.
- Parameters
-
cntr | Connector |
i | Index of the face [0..5] |
flip0 | Return value, the first direction has to flip |
flip1 | Return value, the second direction has to flip |
◆ index()
static uint hp3D::HexFunctions::index |
( |
const uint |
ll[3], |
|
|
const ushort |
p[3] |
|
) |
| |
|
inlinestatic |
Computes the linear index from the tensor product index ll
using the polynomial degrees p
.
- Returns
- Linear index
Definition at line 86 of file hexFunctions.hh.
◆ setDegreeHex2Quad()
This method sets the appropriate polynomial degree for a facequad from a hexahderon depending on its orientation ushort* p the three degrees uint k - face Z4 tau quad parameter tau
◆ vertexIndex()
static void hp3D::HexFunctions::vertexIndex |
( |
const uint |
i, |
|
|
uint |
ll[3] |
|
) |
| |
|
static |
Computes the tensor product index ll
for a vertex with index i
.
- Returns
- ll
The documentation for this class was generated from the following file: