hp2D::QuadFunctions Class Reference

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). More...
 
static void edgeOrientation (const uint i, uint &pIndex, uint &qIndex)
 Helps distributing the polynomial degree to the edges. More...
 
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. More...
 
static void vertexIndex (const uint i, uint ll[2])
 Computes the tensor product index ll for a vertex with index i. More...
 

Detailed Description

Auxiliary functions for quadrilaterals.

Author
Philipp Frauenfelder, 2004

Definition at line 23 of file quadFunctions.hh.

Member Function Documentation

◆ edgeIndex()

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).

Returns
ll

◆ edgeOrientation()

static void hp2D::QuadFunctions::edgeOrientation ( const uint  i,
uint &  pIndex,
uint &  qIndex 
)
static

Helps distributing the polynomial degree to the edges.

Parameters
iIndex of the edge [0..3]
pIndexIndex of the polynomial degree of this edge in the array of the element
qIndexOther index
Returns
pIndex, qIndex

◆ index()

static uint hp2D::QuadFunctions::index ( const uint  ll[2],
const ushort  p[2] 
)
inlinestatic

Computes the linear index from the tensor product index ll using the polynomial degrees p.

Returns
Linear index

Definition at line 50 of file quadFunctions.hh.

◆ vertexIndex()

static void hp2D::QuadFunctions::vertexIndex ( const uint  i,
uint  ll[2] 
)
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:
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich