Loading...
Searching...
No Matches
triangle.icc
Go to the documentation of this file.
#ifndef _RHEO_TRIANGLE_ICC
#define _RHEO_TRIANGLE_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_triangle]
const size_t dimension = 2;
const Float measure = 0.5;
const size_t n_vertex = 3;
const point vertex [n_vertex] = {
point(0, 0),
point(1, 0),
point(0, 1) };
const size_t n_edge = 3;
const size_t edge [n_edge][2] = {
{ 0, 1 },
{ 1, 2 },
{ 2, 0 } };
// [verbatim_triangle]
#endif // _RHEO_TRIANGLE_ICC
Float
see the Float page for the full documentation
edge
see the edge page for the full documentation
point
see the point page for the full documentation
dimension
const size_t dimension
Definition edge.icc:64
vertex
const point vertex[n_vertex]
Definition edge.icc:67
n_vertex
const size_t n_vertex
Definition edge.icc:66
measure
const Float measure
Definition edge.icc:65
n_edge
const size_t n_edge
Definition hexahedron.icc:117