Skip to content
wyldckat edited this page Jul 13, 2012 · 2 revisions

This is a list of the definitions used in enGrid for each element type, which is defined in VTK.

Table of Contents

Faces and edges of a tetrahedron

VTK_TETRA (=10) faces edges
0 2,1,0
1 1,3,0
2 3,2,0
3 2,3,1
0 0,1
1 0,2
2 0,3
3 1,2
4 1,3
5 2,3


Faces and edges of a pyramid

VTK_PYRAMID (=14) faces edges
0 0,3,2,1
1 0,1,4
2 1,2,4
3 2,3,4
4 3,0,4
0 0,1
1 0,3
2 0,4
3 1,2
4 1,4
5 2,3
6 2,4
7 3,4


Faces and edges of a prism

VTK_WEDGE (=13) faces edges
0 0,1,2
1 3,5,4
2 3,4,1,0
3 1,4,5,2
4 0,2,5,3
0 0,1
1 0,2
2 0,3
3 1,2
4 1,4
5 2,6
6 3,4
7 3,5
8 4,5


Faces and edges of a hexahedron

VTK_HEXAHEDRON (=12) faces edges
0 0,3,2,1
1 4,5,6,7
2 0,1,5,4
3 3,7,6,2
4 0,4,7,3
5 1,2,6,5
0 0,1
1 0,3
2 0,4
3 1,2
4 1,5
5 2,3
6 2,6
7 3,7
8 4,5
9 4,7
10 5,6
11 6,7
Clone this wiki locally