Auxiliary functions for hexahedra. More...
#include <hexFunctions.hh>
Static Public Member Functions | |
| static void | edgeIndex (const uint i, const uint qIndex, const uint rIndex, uint ll[3]) |
Computes the tensor product index ll for an edge with index i and precomputed indices qIndex and rIndex (use edgeOrientation to compute them). | |
| static void | edgeOrientation (const uint i, uint &pIndex, uint &qIndex, uint &rIndex) |
| Helps distributing the polynomial degree to the edges. | |
| static void | faceIndex (const uint i, const uint rIndex, uint ll[3]) |
Computes the tensor product index ll for a face with index i and precomputed index rIndex (use faceOrientation to compute it). | |
| static void | faceOrientation (const concepts::Hexahedron &cntr, const uint i, uint &pIndex, uint &qIndex, uint &rIndex) |
| Helps distributing the polynomial degree to the faces. | |
| static void | faceShapefctOrientation (const concepts::Hexahedron &cntr, const uint i, bool &flip0, bool &flip1) |
| Determines wether a shape function direction has to flip the sign for the odd degree polynomials. | |
| static uint | index (const uint ll[3], const ushort p[3]) |
Computes the linear index from the tensor product index ll using the polynomial degrees p. | |
| static void | vertexIndex (const uint i, uint ll[3]) |
Computes the tensor product index ll for a vertex with index i. | |
Auxiliary functions for hexahedra.
Definition at line 22 of file hexFunctions.hh.
| 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).
| static void hp3D::HexFunctions::edgeOrientation | ( | const uint | i, |
| uint & | pIndex, | ||
| uint & | qIndex, | ||
| uint & | rIndex | ||
| ) | [static] |
Helps distributing the polynomial degree to the edges.
| 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 |
| 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).
| 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.
| 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 |
| 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.
| 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 |
| static uint hp3D::HexFunctions::index | ( | const uint | ll[3], |
| const ushort | p[3] | ||
| ) | [inline, static] |
Computes the linear index from the tensor product index ll using the polynomial degrees p.
Definition at line 81 of file hexFunctions.hh.
| static void hp3D::HexFunctions::vertexIndex | ( | const uint | i, |
| uint | ll[3] | ||
| ) | [static] |
Computes the tensor product index ll for a vertex with index i.