Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

Static Public Member Functions
hp3D::HexFunctions Class Reference

Auxiliary functions for hexahedra. More...

#include <hexFunctions.hh>

List of all members.

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.

Detailed Description

Auxiliary functions for hexahedra.

Author:
Philipp Frauenfelder, 2002

Definition at line 22 of file hexFunctions.hh.


Member Function Documentation

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
static void hp3D::HexFunctions::edgeOrientation ( const uint  i,
uint &  pIndex,
uint &  qIndex,
uint &  rIndex 
) [static]

Helps distributing the polynomial degree to the edges.

Parameters:
iIndex of the edge [0..11]
pIndexIndex of the polynomial degree of this edge in the array of the element
qIndex,rIndexOther indices
Returns:
pIndex, qIndex, rIndex
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
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:
cntrConnector
iIndex of the face [0..5]
pIndexIndex of the first polynomial degree of this face in the array of the element
qIndexIndex of the second polynomial degree of this face in the array of the element
rIndexOther index
Returns:
pIndex, qIndex, rIndex
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:
cntrConnector
iIndex of the face [0..5]
flip0Return value, the first direction has to flip
flip1Return 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.

Returns:
Linear index

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.

Returns:
ll

The documentation for this class was generated from the following file:

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)