dune-alugrid  2.6-git
Public Member Functions | Static Public Member Functions | List of all members
Dune::FaceTopologyMapping< type > Class Template Reference

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

Public Member Functions

int twist (int index, int faceTwist)
 
int twist (int index, int faceTwist)
 
int invTwist (int index, int faceTwist)
 
int invTwist (int index, int faceTwist)
 

Static Public Member Functions

static int dune2aluVertex (int index)
 Maps vertex index from Dune onto ALU3dGrid reference face. More...
 
static int dune2aluVertex (int index, int twist)
 
static int alu2duneVertex (int index)
 Maps vertex index from ALU3dGrid onto Dune reference face. More...
 
static int alu2duneVertex (int index, int twist)
 
static int dune2aluEdge (int index)
 Maps edge index from Dune onto ALU3dGrid reference face. More...
 
static int alu2duneEdge (int index)
 Maps edge index from ALU3dGrid onto Dune reference face. More...
 
static int twist (int index, int faceTwist)
 
static int invTwist (int index, int faceTwist)
 
static int twistedDuneIndex (const int idx, const int twist)
 
static int aluTwistMap (const int aluTwist)
 

Detailed Description

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

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

Member Function Documentation

◆ alu2duneEdge()

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

Maps edge index from ALU3dGrid onto Dune reference face.

◆ alu2duneVertex() [1/2]

template<ALU3dGridElementType type>
int Dune::FaceTopologyMapping< type >::alu2duneVertex ( int  index)
inlinestatic

Maps vertex index from ALU3dGrid onto Dune reference face.

◆ alu2duneVertex() [2/2]

template<ALU3dGridElementType type>
int Dune::FaceTopologyMapping< type >::alu2duneVertex ( int  index,
int  twist 
)
inlinestatic

Maps vertex index from ALU3dGrid onto Dune reference face, where the face in the ALU3dGrid has the twist twist compared to the orientation of the respective face in the reference element

Parameters
indexlocal ALU3dGrid vertex index on the particular face (i.e. the face which has a twist twist compared to the reference element's face
twisttwist of the face in consideration
Returns
local Dune vertex index on reference element face

◆ aluTwistMap()

template<ALU3dGridElementType type>
int Dune::FaceTopologyMapping< type >::aluTwistMap ( const int  aluTwist)
inlinestatic

◆ dune2aluEdge()

template<ALU3dGridElementType type>
int Dune::FaceTopologyMapping< type >::dune2aluEdge ( int  index)
inlinestatic

Maps edge index from Dune onto ALU3dGrid reference face.

◆ dune2aluVertex() [1/2]

template<ALU3dGridElementType type>
int Dune::FaceTopologyMapping< type >::dune2aluVertex ( int  index)
inlinestatic

Maps vertex index from Dune onto ALU3dGrid reference face.

◆ dune2aluVertex() [2/2]

template<ALU3dGridElementType type>
int Dune::FaceTopologyMapping< type >::dune2aluVertex ( int  index,
int  twist 
)
inlinestatic

Maps vertex index from Dune onto ALU3dGrid reference face, where the face in the ALU3dGrid has the twist twist compared to the orientation of the respective face in the reference element

Parameters
indexlocal Dune vertex index on the particular face (i.e. the face which has a twist twist compared to the reference element's face
twisttwist of the face in consideration
Returns
local ALU3dGrid vertex index on reference element face

◆ invTwist() [1/3]

int Dune::FaceTopologyMapping< tetra >::invTwist ( int  index,
int  faceTwist 
)

◆ invTwist() [2/3]

int Dune::FaceTopologyMapping< hexa >::invTwist ( int  index,
int  faceTwist 
)

◆ invTwist() [3/3]

template<ALU3dGridElementType type>
static int Dune::FaceTopologyMapping< type >::invTwist ( int  index,
int  faceTwist 
)
static

◆ twist() [1/3]

int Dune::FaceTopologyMapping< tetra >::twist ( int  index,
int  faceTwist 
)

◆ twist() [2/3]

int Dune::FaceTopologyMapping< hexa >::twist ( int  index,
int  faceTwist 
)

◆ twist() [3/3]

template<ALU3dGridElementType type>
static int Dune::FaceTopologyMapping< type >::twist ( int  index,
int  faceTwist 
)
static

◆ twistedDuneIndex()

template<ALU3dGridElementType type>
int Dune::FaceTopologyMapping< type >::twistedDuneIndex ( const int  idx,
const int  twist 
)
inlinestatic

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