Auxiliary functions for quadrilaterals. More...
#include <quadFunctions.hh>
Static Public Member Functions | |
| static void | edgeIndex (const uint i, const uint qIndex, uint ll[2]) |
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) |
| Helps distributing the polynomial degree to the edges. | |
| static uint | index (const uint ll[2], const ushort p[2]) |
Computes the linear index from the tensor product index ll using the polynomial degrees p. | |
| static void | vertexIndex (const uint i, uint ll[2]) |
Computes the tensor product index ll for a vertex with index i. | |
Auxiliary functions for quadrilaterals.
Definition at line 20 of file quadFunctions.hh.
| static void hp2D::QuadFunctions::edgeIndex | ( | const uint | i, |
| const uint | qIndex, | ||
| uint | ll[2] | ||
| ) | [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 hp2D::QuadFunctions::edgeOrientation | ( | const uint | i, |
| uint & | pIndex, | ||
| uint & | qIndex | ||
| ) | [static] |
Helps distributing the polynomial degree to the edges.
| i | Index of the edge [0..3] |
| pIndex | Index of the polynomial degree of this edge in the array of the element |
| qIndex | Other index |
| static uint hp2D::QuadFunctions::index | ( | const uint | ll[2], |
| const ushort | p[2] | ||
| ) | [inline, static] |
Computes the linear index from the tensor product index ll using the polynomial degrees p.
Definition at line 47 of file quadFunctions.hh.
| static void hp2D::QuadFunctions::vertexIndex | ( | const uint | i, |
| uint | ll[2] | ||
| ) | [static] |
Computes the tensor product index ll for a vertex with index i.