Rheolef
7.1
an efficient C++ finite element environment
hexahedron.icc
Go to the documentation of this file.
1
#ifndef _RHEOLEF_HEXA_ICC
2
#define _RHEOLEF_HEXA_ICC
3
//
4
// This file is part of Rheolef.
5
//
6
// Copyright (C) 2000-2018 Pierre Saramito <Pierre.Saramito@imag.fr>
7
//
8
// Rheolef is free software; you can redistribute it and/or modify
9
// it under the terms of the GNU General Public License as published by
10
// the Free Software Foundation; either version 2 of the License, or
11
// (at your option) any later version.
12
//
13
// Rheolef is distributed in the hope that it will be useful,
14
// but WITHOUT ANY WARRANTY; without even the implied warranty of
15
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
// GNU General Public License for more details.
17
//
18
// You should have received a copy of the GNU General Public License
19
// along with Rheolef; if not, write to the Free Software
20
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21
//
22
// =========================================================================
23
96
// [verbatim_hexahedron]
97
const
size_t
dimension
= 3;
98
const
Float
measure
= 8;
99
const
size_t
n_vertex
= 8;
100
const
point
vertex
[
n_vertex
] = {
101
point
(-1,-1,-1 ),
102
point
( 1,-1,-1 ),
103
point
( 1, 1,-1 ),
104
point
(-1, 1,-1 ),
105
point
(-1,-1, 1 ),
106
point
( 1,-1, 1 ),
107
point
( 1, 1, 1 ),
108
point
(-1, 1, 1 ) };
109
const
size_t
n_face
= 6;
110
const
size_t
face
[
n_face
][4] = {
111
{0, 3, 2, 1 },
112
{0, 4, 7, 3 },
113
{0, 1, 5, 4 },
114
{4, 5, 6, 7 },
115
{1, 2, 6, 5 },
116
{2, 3, 7, 6 } };
117
const
size_t
n_edge
= 12;
118
const
size_t
edge
[
n_edge
][2] = {
119
{0, 1 },
120
{1, 2 },
121
{2, 3 },
122
{3, 0 },
123
{0, 4 },
124
{1, 5 },
125
{2, 6 },
126
{3, 7 },
127
{4, 5 },
128
{5, 6 },
129
{6, 7 },
130
{7, 4 } };
131
// [verbatim_hexahedron]
132
133
#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