Rheolef  7.2
an efficient C++ finite element environment
 
Loading...
Searching...
No Matches
tetrahedron.icc
Go to the documentation of this file.
1#ifndef _RHEO_TETRA_ICC
2#define _RHEO_TETRA_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
106// [verbatim_tetrahedron]
107const size_t dimension = 3;
108const Float measure = Float(1.)/Float(6.);
109const size_t n_vertex = 4;
111 point( 0, 0, 0 ),
112 point( 1, 0, 0 ),
113 point( 0, 1, 0 ),
114 point( 0, 0, 1 ) };
115const size_t n_face = 4;
116const size_t face [n_face][3] = {
117 { 0, 2, 1 },
118 { 0, 3, 2 },
119 { 0, 1, 3 },
120 { 1, 2, 3 } };
121const size_t n_edge = 6;
122const size_t edge [n_edge][2] = {
123 { 0, 1 },
124 { 1, 2 },
125 { 2, 0 },
126 { 0, 3 },
127 { 1, 3 },
128 { 2, 3 } };
129// [verbatim_tetrahedron]
130
131#endif // _RHEO_TETRA_ICC
see the Float page for the full documentation
see the edge page for the full documentation
see the point page for the full documentation
const size_t dimension
const size_t face[n_face][3]
const point vertex[n_vertex]
const size_t n_face
const size_t n_vertex
const Float measure
const size_t n_edge