hexa(9)

NAME

Hexaedra reference element

DESCRIPTION

The hexa reference element is [-1,1]^3.

NUMBERING

The orientation is such that triedra (01, 03, 04) 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
4 - - -7
. ' . . ' |
5 - - -6 |
| .| |
| .| |
| .| |
| 0|. . .3 y
| . ' | . '
1 - - -2
x

IMPLEMENTATION

const size_t dimension = 3;
const Float measure = 8;
const size_t n_vertex = 8;
const Float vertex [n_vertex][dimension] = {
{-1,-1,-1 },
{ 1,-1,-1 },
{ 1, 1,-1 },
{-1, 1,-1 },
{-1,-1, 1 },
{ 1,-1, 1 },
{ 1, 1, 1 },
{-1, 1, 1 } };
const size_t n_face = 6;
const size_t face [n_face][4] = {
{0, 3, 2, 1 },
{0, 4, 7, 3 },
{0, 1, 5, 4 },
{4, 5, 6, 7 },
{1, 2, 6, 5 },
{2, 3, 7, 6 } };
const size_t n_edge = 12;
const size_t edge [n_edge][2] = {
{0, 1 },
{1, 2 },
{2, 3 },
{3, 0 },
{0, 4 },
{1, 5 },
{2, 6 },
{3, 7 },
{4, 5 },
{5, 6 },
{6, 7 },
{7, 4 } };
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout