Flow123d  release_2.2.0-41-g0958a8d
neighbours.cc
Go to the documentation of this file.
1 /*!
2  *
3  * Copyright (C) 2015 Technical University of Liberec. All rights reserved.
4  *
5  * This program is free software; you can redistribute it and/or modify it under
6  * the terms of the GNU General Public License version 3 as published by the
7  * Free Software Foundation. (http://www.gnu.org/licenses/gpl-3.0.en.html)
8  *
9  * This program is distributed in the hope that it will be useful, but WITHOUT
10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11  * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
12  *
13  *
14  * @file neighbours.cc
15  * @ingroup mesh
16  * @brief Initialize neighbouring
17  */
18 
19 #include "system/system.hh"
20 #include "neighbours.h"
21 #include "mesh/mesh.h"
22 
23 //=============================================================================
24 // READ DATA OF ALL NEIGHBOURS
25 //=============================================================================
27 {
28 
29 }
30 
32 : edge_idx_(-1)
33 {}
34 
35 void Neighbour::reinit(ElementIter ele, unsigned int edg_idx)
36 {
37  element_=ele;
38  edge_idx_=edg_idx;
39 }
40 
41 
42 //-----------------------------------------------------------------------------
43 // vim: set cindent:
Definition: mesh.h:97
unsigned int edge_idx_
Definition: neighbours.h:135
void read_neighbour_list(Mesh *mesh)
Definition: neighbours.cc:26
void reinit(ElementIter ele, unsigned int edg_idx)
Definition: neighbours.cc:35
ElementIter element_
Definition: neighbours.h:136