1#ifndef DUNE_ALU3DGRIDTOPOLOGY_HH
2#define DUNE_ALU3DGRIDTOPOLOGY_HH
14 template <ALU3dGr
idElementType type>
20 enum {numVertices = 4};
22 enum {numVerticesPerFace = 3};
23 enum {numEdgesPerFace = 3};
29 enum {numVertices = 8};
31 enum {numVerticesPerFace = 4};
32 enum {numEdgesPerFace = 4};
38 template <ALU3dGr
idElementType type>
109 static std::pair< int, int >
duneEdgeMap (
int edge );
118 static int faceVertex (
int face,
int local );
121 const static int dune2aluFace_[
numFaces];
122 const static int alu2duneFace_[
numFaces];
124 const static int dune2aluEdge_[
numEdges];
125 const static int alu2duneEdge_[
numEdges];
130 static const int generic2aluFace_[
numFaces ];
131 static const int alu2genericFace_[
numFaces ];
133 static const int generic2aluVertex_[
numVertices ];
134 static const int alu2genericVertex_[
numVertices ];
136 const static int faceOrientation_[
numFaces];
141 static const int duneFaceTwist_[
numFaces ];
143 static const int duneEdgeMap_[
numEdges ][ 2 ];
150 template <ALU3dGr
idElementType type>
179 static int twist(
int index,
int faceTwist);
Definition: alu3dinclude.hh:63
ALU3dGridElementType
Definition: topology.hh:12
@ error
Definition: topology.hh:12
@ hexa
Definition: topology.hh:12
@ tetra
Definition: topology.hh:12
@ mixed
Definition: topology.hh:12
Definition: topology.hh:15
Definition: topology.hh:40
@ numVertices
Definition: topology.hh:43
static int alu2genericFace(const int index)
Definition: topology.cc:431
static int duneFaceTwist(int face)
obtain twist of ALU reference face with respect to DUNE reference face
Definition: topology.cc:474
static int generic2aluFace(const int index)
Definition: topology.cc:424
static int alu2duneVertex(int index)
Maps vertex index from ALU3dGrid onto Dune reference element.
Definition: topology.cc:418
static int dune2aluEdge(int index)
Maps edge index from Dune onto ALU3dGrid reference element.
Definition: topology.cc:399
@ numVerticesPerFace
Definition: topology.hh:45
static int alu2duneFace(int index)
Maps face index from ALU3dGrid onto Dune reference element.
Definition: topology.cc:393
static int alu2duneFaceVertex(int face, int localVertex)
Definition: topology.cc:467
@ numFaces
Definition: topology.hh:42
static int faceOrientation(int index)
Definition: topology.cc:452
static int alu2duneEdge(int index)
Maps edge index from ALU3dGrid onto Dune reference element.
Definition: topology.cc:405
static int generic2aluVertex(const int index)
Definition: topology.cc:438
@ numEdges
Definition: topology.hh:44
static int alu2genericVertex(const int index)
Definition: topology.cc:445
static std::pair< int, int > duneEdgeMap(int edge)
Definition: topology.cc:481
static int dune2aluFaceVertex(int face, int localVertex)
Definition: topology.cc:459
static int faceVertex(int face, int local)
Maps a local vertex on a face onto a global vertex.
Definition: topology.cc:488
static int dune2aluVertex(int index)
Maps vertex index from Dune onto ALU3dGrid reference element.
Definition: topology.cc:411
static int dune2aluFace(int index)
Maps face index from Dune onto ALU3dGrid reference element.
Definition: topology.cc:387
Definition: topology.hh:151
static int invTwist(int index, int faceTwist)
static int aluTwistMap(const int aluTwist)
Definition: topology.cc:529
static int alu2duneEdge(int index)
Maps edge index from ALU3dGrid onto Dune reference face.
Definition: topology.cc:522
static int twistedDuneIndex(const int idx, const int twist)
Definition: topology.cc:539
static int dune2aluEdge(int index)
Maps edge index from Dune onto ALU3dGrid reference face.
Definition: topology.cc:552
static int alu2duneVertex(int index)
Maps vertex index from ALU3dGrid onto Dune reference face.
Definition: topology.cc:509
static int twist(int index, int faceTwist)
static int dune2aluVertex(int index)
Maps vertex index from Dune onto ALU3dGrid reference face.
Definition: topology.cc:497