Flow123d
release_2.2.0-33-g759111d
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
flow123d
src
mesh
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
//=============================================================================
26
void
read_neighbour_list
(
Mesh
* mesh)
27
{
28
29
}
30
31
Neighbour::Neighbour
()
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:
system.hh
mesh.h
Mesh
Definition:
mesh.h:97
neighbours.h
Neighbour::edge_idx_
unsigned int edge_idx_
Definition:
neighbours.h:135
read_neighbour_list
void read_neighbour_list(Mesh *mesh)
Definition:
neighbours.cc:26
Element
Definition:
elements.h:39
Neighbour::reinit
void reinit(ElementIter ele, unsigned int edg_idx)
Definition:
neighbours.cc:35
Neighbour::Neighbour
Neighbour()
Definition:
neighbours.cc:31
Neighbour::element_
ElementIter element_
Definition:
neighbours.h:136
Generated by
1.8.11