hexFunctions.hh
Go to the documentation of this file.
100 static concepts::Real2d coordTrans(const concepts::Real x,const concepts::Real y, uint k, concepts::Z2 r, concepts::Z4 t);
101 static concepts::Real2d coordTransInv(const concepts::Real x,const concepts::Real y, uint k, concepts::Z2 r, concepts::Z4 t);
static void vertexIndex(const uint i, uint ll[3])
Computes the tensor product index ll for a vertex with index i.
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 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 rInd...
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.
Definition: hexFunctions.hh:86
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 coordinat...
static concepts::Real2d coordTransInv(const concepts::Real x, const concepts::Real y, uint k, concepts::Z2 r, concepts::Z4 t)
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 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 ...
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 faceOr...