dune-grid  2.4.1
Public Types | Static Public Member Functions | List of all members
Dune::ElementTopologyMapping< type > Class Template Reference

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

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. More...
 
static int alu2duneFace (int index)
 Maps face index from ALU3dGrid onto Dune reference element. More...
 
static int dune2aluEdge (int index)
 Maps edge index from Dune onto ALU3dGrid reference element. More...
 
static int alu2duneEdge (int index)
 Maps edge index from ALU3dGrid onto Dune reference element. More...
 
static int dune2aluVertex (int index)
 Maps vertex index from Dune onto ALU3dGrid reference element. More...
 
static int alu2duneVertex (int index)
 Maps vertex index from ALU3dGrid onto Dune reference element. More...
 
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. More...
 

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
numEdges 
template<ALU3dGridElementType type>
anonymous enum
Enumerator
numVerticesPerFace 
template<ALU3dGridElementType type>
anonymous enum
Enumerator
numFaces 
template<ALU3dGridElementType type>
anonymous enum
Enumerator
numVertices 

Member Function Documentation

template<ALU3dGridElementType type>
int Dune::ElementTopologyMapping< type >::alu2duneEdge ( int  index)
inlinestatic

Maps edge index from ALU3dGrid onto Dune reference element.

template<ALU3dGridElementType type>
int Dune::ElementTopologyMapping< type >::alu2duneFace ( int  index)
inlinestatic

Maps face index from ALU3dGrid onto Dune reference element.

template<ALU3dGridElementType type>
int Dune::ElementTopologyMapping< type >::alu2duneFaceVertex ( int  face,
int  localVertex 
)
inlinestatic

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

Maps vertex index from ALU3dGrid onto Dune reference element.

template<ALU3dGridElementType type>
int Dune::ElementTopologyMapping< type >::alu2genericFace ( const int  index)
inlinestatic
template<ALU3dGridElementType type>
int Dune::ElementTopologyMapping< type >::alu2genericVertex ( const int  index)
inlinestatic
template<ALU3dGridElementType type>
int Dune::ElementTopologyMapping< type >::dune2aluEdge ( int  index)
inlinestatic

Maps edge index from Dune onto ALU3dGrid reference element.

template<ALU3dGridElementType type>
int Dune::ElementTopologyMapping< type >::dune2aluFace ( int  index)
inlinestatic

Maps face index from Dune onto ALU3dGrid reference element.

template<ALU3dGridElementType type>
int Dune::ElementTopologyMapping< type >::dune2aluFaceVertex ( int  face,
int  localVertex 
)
inlinestatic

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

Maps vertex index from Dune onto ALU3dGrid reference element.

template<ALU3dGridElementType type>
int Dune::ElementTopologyMapping< type >::faceOrientation ( int  index)
inlinestatic

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

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)
inlinestatic
template<ALU3dGridElementType type>
int Dune::ElementTopologyMapping< type >::generic2aluVertex ( const int  index)
inlinestatic

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