Flow123d
jenkins-Flow123d-windows-release-multijob-285
|
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) 2007 Technical University of Liberec. All rights reserved.
Please make a following refer to Flow123d on your project site if you use the program for any purpose, especially for academic research: Flow123d, Research Centre: Advanced Remedial Technologies, Technical University of Liberec, Czech Republic
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.
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.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 021110-1307, USA.
$Id$ $Revision$ $LastChangedBy$ $LastChangedDate$
TODO:
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.