dune-grid  2.1.1
Public Types | Static Public Member Functions
Dune::ElementTopologyMapping< type > Class Template Reference

#include <dune/grid/alugrid/3d/topology.hh>

List of all members.

Public Types

enum  { numFaces = EntityCount<type>::numFaces }
enum  { numVertices = EntityCount<type>::numVertices }
enum  { numEdges = EntityCount<type>::numEdges }
enum  { numVerticesPerFace = EntityCount<type>::numVerticesPerFace }

Static Public Member Functions

static int dune2aluFace (int index)
 Maps face index from Dune onto ALU3dGrid reference element.
static int alu2duneFace (int index)
 Maps face index from ALU3dGrid onto Dune reference element.
static int dune2aluEdge (int index)
 Maps edge index from Dune onto ALU3dGrid reference element.
static int alu2duneEdge (int index)
 Maps edge index from ALU3dGrid onto Dune reference element.
static int dune2aluVertex (int index)
 Maps vertex index from Dune onto ALU3dGrid reference element.
static int alu2duneVertex (int index)
 Maps vertex index from ALU3dGrid onto Dune reference element.
static int generic2aluFace (const int index)
static int alu2genericFace (const int index)
static int generic2aluVertex (const int index)
static int alu2genericVertex (const int index)
static int faceOrientation (int index)
static int dune2aluFaceVertex (int face, int localVertex)
static int alu2duneFaceVertex (int face, int localVertex)
static int faceVertex (int face, int local)
 Maps a local vertex on a face onto a global vertex.

Detailed Description

template<ALU3dGridElementType type>
class Dune::ElementTopologyMapping< type >

Maps indices of the Dune reference element onto the indices of the ALU3dGrid reference element and vice-versa.


Member Enumeration Documentation

template<ALU3dGridElementType type>
anonymous enum
Enumerator:
numFaces 
template<ALU3dGridElementType type>
anonymous enum
Enumerator:
numVertices 
template<ALU3dGridElementType type>
anonymous enum
Enumerator:
numEdges 
template<ALU3dGridElementType type>
anonymous enum
Enumerator:
numVerticesPerFace 

Member Function Documentation

template<ALU3dGridElementType type>
int Dune::ElementTopologyMapping< type >::alu2duneEdge ( int  index) [inline, static]

Maps edge index from ALU3dGrid onto Dune reference element.

template<ALU3dGridElementType type>
int Dune::ElementTopologyMapping< type >::alu2duneFace ( int  index) [inline, static]

Maps face index from ALU3dGrid onto Dune reference element.

template<ALU3dGridElementType type>
int Dune::ElementTopologyMapping< type >::alu2duneFaceVertex ( int  face,
int  localVertex 
) [inline, static]

Maps local vertex index of a face onto a global vertex index (ALU3dGrid->Dune)

Parameters:
faceFace index (ALU3dGrid reference element)
localVertexLocal vertex index on face face (ALU3dGrid reference element)
Returns:
global vertex index in Dune reference element
template<ALU3dGridElementType type>
int Dune::ElementTopologyMapping< type >::alu2duneVertex ( int  index) [inline, static]

Maps vertex index from ALU3dGrid onto Dune reference element.

template<ALU3dGridElementType type>
int Dune::ElementTopologyMapping< type >::alu2genericFace ( const int  index) [inline, static]
template<ALU3dGridElementType type>
int Dune::ElementTopologyMapping< type >::alu2genericVertex ( const int  index) [inline, static]
template<ALU3dGridElementType type>
int Dune::ElementTopologyMapping< type >::dune2aluEdge ( int  index) [inline, static]

Maps edge index from Dune onto ALU3dGrid reference element.

template<ALU3dGridElementType type>
int Dune::ElementTopologyMapping< type >::dune2aluFace ( int  index) [inline, static]

Maps face index from Dune onto ALU3dGrid reference element.

template<ALU3dGridElementType type>
int Dune::ElementTopologyMapping< type >::dune2aluFaceVertex ( int  face,
int  localVertex 
) [inline, static]

Maps local vertex index of a face onto a global vertex index (Dune->ALU3dGrid)

Parameters:
faceFace index (Dune reference element)
localVertexLocal vertex index on face face (Dune reference element)
Returns:
global vertex index in ALU3dGrid reference element
template<ALU3dGridElementType type>
int Dune::ElementTopologyMapping< type >::dune2aluVertex ( int  index) [inline, static]

Maps vertex index from Dune onto ALU3dGrid reference element.

template<ALU3dGridElementType type>
int Dune::ElementTopologyMapping< type >::faceOrientation ( int  index) [inline, static]

Return 1 if faces in ALU3dGrid and Dune reference element have the same orientation (edge 0->1 is taken as reference as they are the same in both reference elements), -1 otherwise. The index is a Dune face index

template<ALU3dGridElementType type>
int Dune::ElementTopologyMapping< type >::faceVertex ( int  face,
int  local 
) [inline, static]

Maps a local vertex on a face onto a global vertex.

Parameters:
[in]faceindex of the face (with respect to ALU reference element)
[in]locallocal index of vertex on the face
Returns:
global index of vertex in ALU reference element
template<ALU3dGridElementType type>
int Dune::ElementTopologyMapping< type >::generic2aluFace ( const int  index) [inline, static]
template<ALU3dGridElementType type>
int Dune::ElementTopologyMapping< type >::generic2aluVertex ( const int  index) [inline, static]

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