hp3D::HexFunctions Class Reference
Auxiliary functions for hexahedra. More...
#include <hexFunctions.hh>
Static Public Member Functions | |
static concepts::Real2d | coordTrans (const concepts::Real x, const concepts::Real y, uint k, concepts::Z2 r, concepts::Z4 t) |
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. More... | |
static concepts::Real2d | coordTransInv (const concepts::Real x, const concepts::Real y, uint k, concepts::Z2 r, concepts::Z4 t) |
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). More... | |
static void | edgeOrientation (const uint i, uint &pIndex, uint &qIndex, uint &rIndex) |
Helps distributing the polynomial degree to the edges. More... | |
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). More... | |
static void | faceOrientation (const concepts::Hexahedron &cntr, const uint i, uint &pIndex, uint &qIndex, uint &rIndex) |
Helps distributing the polynomial degree to the faces. More... | |
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. More... | |
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 . More... | |
static const concepts::ushort * | setDegreeHex2Quad (const ushort *p, uint k, concepts::Z4 tau) |
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. More... | |
static void | vertexIndex (const uint i, uint ll[3]) |
Computes the tensor product index ll for a vertex with index i . More... | |
Detailed Description
Auxiliary functions for hexahedra.
Definition at line 27 of file hexFunctions.hh.
Member Function Documentation
◆ coordTrans()
|
static |
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.
◆ coordTransInv()
|
static |
◆ edgeIndex()
|
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 |
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 |
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 |
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 |
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()
|
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()
|
static |
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 |
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:
- hp3D/hexFunctions.hh