Flow123d
jenkins-Flow123d-windows-release-multijob-285
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
flow123d
src
mesh
edges.h
Go to the documentation of this file.
1
/*!
2
*
3
* Copyright (C) 2007 Technical University of Liberec. All rights reserved.
4
*
5
* Please make a following refer to Flow123d on your project site if you use the program for any purpose,
6
* especially for academic research:
7
* Flow123d, Research Centre: Advanced Remedial Technologies, Technical University of Liberec, Czech Republic
8
*
9
* This program is free software; you can redistribute it and/or modify it under the terms
10
* of the GNU General Public License version 3 as published by the Free Software Foundation.
11
*
12
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
13
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14
* See the GNU General Public License for more details.
15
*
16
* You should have received a copy of the GNU General Public License along with this program; if not,
17
* write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 021110-1307, USA.
18
*
19
*
20
* $Id$
21
* $Revision$
22
* $LastChangedBy$
23
* $LastChangedDate$
24
*
25
* @file
26
* @brief ???
27
*
28
*/
29
30
#ifndef MAKE_EDGES_H
31
#define MAKE_EDGES_H
32
33
#include "
mesh/mesh.h
"
34
35
//=============================================================================
36
// STRUCTURE OF THE EDGE OF THE MESH
37
//=============================================================================
38
class
Edge
39
{
40
public
:
41
/// Minimalistic default constructor.
42
Edge
();
43
inline
SideIter
side
(
const
unsigned
int
i)
const
{
44
return
side_
[i];
45
}
46
47
// Topology of the mesh
48
int
n_sides
;
// # of sides of edge
49
SideIter
*
side_
;
// sides of edge (could be more then two e.g. 1D mesh in 2d space with crossing )
50
51
};
52
53
#define FOR_EDGE_SIDES(i,j) for((j)=0;(j)<(i)->n_sides;(j)++)
54
55
56
#endif
57
//-----------------------------------------------------------------------------
58
// vim: set cindent:
mesh.h
???
Edge::n_sides
int n_sides
Definition:
edges.h:48
Edge
Definition:
edges.h:38
Edge::Edge
Edge()
Minimalistic default constructor.
Definition:
edges.cc:36
SideIter
Definition:
sides.h:129
Edge::side_
SideIter * side_
Definition:
edges.h:49
Edge::side
SideIter side(const unsigned int i) const
Definition:
edges.h:43
Generated on Thu Mar 26 2015 14:31:24 for Flow123d by
1.8.9.1