tetra(9)
NAME
Tetraedra reference element
DESCRIPTION
- The tetraedra reference element is
- K = { 0 < x < 1 and 0 < y < 1-x and 0 < z < 1-x-y }
NUMBERING
- The orientation is such that triedra (01, 02, 03) is direct, and all
faces, see from exterior, are in the direct sens. References: P. L.
Georges, "Generation automatique de maillages", page 24-, coll RMA, 16,
Masson, 1994.
- z
- 3
- /| +
- / | +
- / | +
- / 0 . . .2 y
- / ' .
- 1 . '
- x
IMPLEMENTATION
- const size_t dimension = 3;
const Float measure = Float(1.)/Float(6.);
const size_t n_vertex = 4;
const Float vertex [n_vertex][dimension] = { - { 0, 0, 0 },
{ 1, 0, 0 },
{ 0, 1, 0 },
{ 0, 0, 1 } }; - const size_t n_face = 4;
const size_t face [n_face][3] = { - { 0, 2, 1 },
{ 0, 3, 2 },
{ 0, 1, 3 },
{ 1, 2, 3 } }; - const size_t n_edge = 6;
const size_t edge [n_edge][2] = { - { 0, 1 },
{ 1, 2 },
{ 2, 0 },
{ 0, 3 },
{ 1, 3 },
{ 2, 3 } };