Flow123d  jenkins-Flow123d-windows32-release-multijob-51
neighbours.cc
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  *
26  * @file
27  * @ingroup mesh
28  * @brief Initialize neighbouring
29  *
30  */
31 
32 #include "system/system.hh"
33 #include "neighbours.h"
34 #include "mesh/mesh.h"
35 
36 //=============================================================================
37 // READ DATA OF ALL NEIGHBOURS
38 //=============================================================================
40 {
41 
42 }
43 
45 : edge_idx_(-1)
46 {}
47 
48 void Neighbour::reinit(ElementIter ele, unsigned int edg_idx)
49 {
50  element_=ele;
51  edge_idx_=edg_idx;
52 }
53 
54 
55 //-----------------------------------------------------------------------------
56 // vim: set cindent:
???
Definition: mesh.h:108
unsigned int edge_idx_
Definition: neighbours.h:147
void read_neighbour_list(Mesh *mesh)
Definition: neighbours.cc:39
void reinit(ElementIter ele, unsigned int edg_idx)
Definition: neighbours.cc:48
ElementIter element_
Definition: neighbours.h:148