Flow123d
release_2.2.0-20-gb8056ca
|
Class RefElement defines numbering of vertices, sides, calculation of normal vectors etc. More...
#include <armadillo>
Go to the source code of this file.
Classes | |
class | RefElement< dim > |
Class RefElement defines numbering of vertices, sides, calculation of normal vectors etc.
* Copyright (C) 2015 Technical University of Liberec. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 3 as published by the Free Software Foundation. (http://www.gnu.org/licenses/gpl-3.0.en.html)
This program 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.
design numbering and orientations on ref element that is consistent (orientation and numbering od 2d el. match sides of 3d), and possibly allows permute vertices of elements so that sides sharing an edge match numbering and orientation (we dos'nt need permute faces)
Proposal(prefers combinatoric order) : 1D - orientation V0 -> V1
2D - edges: E0: V0 -> V1, E1: V0 -> V2 E2: V1 -> V2 This maximize number of edge orientations achievable by edge permutations edge numbering edge orientation( in original numbering) 0 1 2 + + + 0 2 1 - + + 1 0 2 + + - 1 2 0 - - + 2 0 1 + - - 2 1 0 - - -
vertices edges normal (out = +)
3D - sides: S0: 0 1 2 E0 E1 E3 - S1: 0 1 3 E0 E2 E4 + S2: 0 2 3 E1 E2 E5 - S3: 1 2 3 E3 E4 E5 -
edges: E0: V0 -> V1 x direction E1: V0 -> V2 y direction E2: V0 -> V3 z direction E3: V1 -> V2 E4: V1 -> V3 E5: V2 -> V3
Definition in file ref_element.hh.