Dune Core Modules (2.4.1)

Dune::ElementTopologyMapping< type > Class Template Reference

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

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 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 Function Documentation

◆ alu2duneFaceVertex()

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

◆ dune2aluFaceVertex()

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

◆ faceOrientation()

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

◆ faceVertex()

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

The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 21, 23:30, 2024)