hexahedron.icc
Go to the documentation of this file.
#ifndef _RHEOLEF_HEXA_ICC
#define _RHEOLEF_HEXA_ICC
//
// This file is part of Rheolef.
//
// Copyright (C) 2000-2018 Pierre Saramito <Pierre.Saramito@imag.fr>
//
// Rheolef is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// Rheolef is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Rheolef; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
// =========================================================================
// [verbatim_hexahedron]
const size_t dimension = 3;
const Float measure = 8;
const size_t n_vertex = 8;
const point vertex [n_vertex] = {
point(-1,-1,-1 ),
point( 1,-1,-1 ),
point( 1, 1,-1 ),
point(-1, 1,-1 ),
point(-1,-1, 1 ),
point( 1,-1, 1 ),
point( 1, 1, 1 ),
point(-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 } };
// [verbatim_hexahedron]
#endif // _RHEOLEF_HEXA_ICC
n_face
const size_t n_face
Definition: hexahedron.icc:109
n_edge
const size_t n_edge
Definition: hexahedron.icc:117
dimension
const size_t dimension
Definition: hexahedron.icc:97
face
const size_t face[n_face][4]
Definition: hexahedron.icc:110
Float
see the Float page for the full documentation
point
see the point page for the full documentation
measure
const Float measure
Definition: hexahedron.icc:98
vertex
const point vertex[n_vertex]
Definition: hexahedron.icc:100
n_vertex
const size_t n_vertex
Definition: hexahedron.icc:99
edge
see the edge page for the full documentation