Flow123d
release_3.0.0-1008-gca43bb7
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 "
mesh/side_impl.hh
"
20
#include "
system/system.hh
"
21
#include "
neighbours.h
"
22
#include "
mesh/mesh.h
"
23
24
//=============================================================================
25
// READ DATA OF ALL NEIGHBOURS
26
//=============================================================================
27
void
read_neighbour_list
(
Mesh
* mesh)
28
{
29
30
}
31
32
Neighbour::Neighbour
()
33
: edge_idx_(-1)
34
{}
35
36
void
Neighbour::reinit
(
Mesh
*mesh,
unsigned
int
elem_idx,
unsigned
int
edge_idx
)
37
{
38
mesh_
=mesh;
39
elem_idx_
=elem_idx;
40
edge_idx_
=
edge_idx
;
41
}
42
43
44
//-----------------------------------------------------------------------------
45
// vim: set cindent:
Neighbour::elem_idx_
unsigned int elem_idx_
Index of element in Mesh::element_vec_.
Definition:
neighbours.h:139
system.hh
mesh.h
Mesh
Definition:
mesh.h:76
neighbours.h
Neighbour::edge_idx_
unsigned int edge_idx_
Index of Edge in Mesh.
Definition:
neighbours.h:140
read_neighbour_list
void read_neighbour_list(Mesh *mesh)
Definition:
neighbours.cc:27
Neighbour::edge_idx
unsigned int edge_idx()
Definition:
neighbours.h:153
Neighbour::Neighbour
Neighbour()
Definition:
neighbours.cc:32
side_impl.hh
Neighbour::reinit
void reinit(Mesh *mesh, unsigned int elem_idx, unsigned int edge_idx)
Definition:
neighbours.cc:36
Neighbour::mesh_
Mesh * mesh_
Pointer to Mesh to which belonged.
Definition:
neighbours.h:138
Generated by
1.8.11