Flow123d
3.9.0-c2ae2d0a8
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
y
Functions
_
a
b
c
d
e
f
g
h
i
m
n
o
p
r
s
t
u
w
Variables
Typedefs
Enumerations
Enumerator
a
b
c
d
f
g
h
i
m
n
o
p
r
s
u
w
y
Classes
Class List
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
z
Enumerations
a
b
c
d
f
h
i
m
n
o
p
r
s
t
u
v
Enumerator
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Related Functions
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
Files
File List
File Members
All
_
a
b
c
d
e
f
g
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Functions
_
a
c
d
f
i
k
l
m
n
o
p
r
s
t
v
Variables
_
a
c
d
g
m
n
p
q
s
u
v
Typedefs
_
a
d
e
f
g
i
j
l
m
o
q
r
s
t
u
v
Enumerations
Enumerator
a
b
c
d
e
f
i
m
n
o
p
r
s
u
v
w
Macros
_
a
b
c
d
e
f
g
i
j
k
l
m
n
o
p
q
r
s
t
w
z
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
Neighbour::Neighbour
()
27
: edge_idx_(-1)
28
{}
29
30
void
Neighbour::reinit
(
MeshBase
*mesh,
unsigned
int
elem_idx,
unsigned
int
edge_idx)
31
{
32
mesh_
=mesh;
33
elem_idx_
=elem_idx;
34
edge_idx_
=
edge_idx
;
35
}
36
37
38
//-----------------------------------------------------------------------------
39
// vim: set cindent:
Neighbour::edge_idx_
unsigned int edge_idx_
Index of Edge in Mesh.
Definition:
neighbours.h:138
neighbours.h
Neighbour::elem_idx_
unsigned int elem_idx_
Index of element in Mesh::element_vec_.
Definition:
neighbours.h:137
system.hh
Neighbour::Neighbour
Neighbour()
Definition:
neighbours.cc:26
mesh.h
Neighbour::edge_idx
unsigned int edge_idx() const
Definition:
neighbours.h:153
Neighbour::reinit
void reinit(MeshBase *mesh, unsigned int elem_idx, unsigned int edge_idx)
Definition:
neighbours.cc:30
Neighbour::mesh_
MeshBase * mesh_
Pointer to Mesh to which belonged.
Definition:
neighbours.h:136
MeshBase
Base class for Mesh and BCMesh.
Definition:
mesh.h:96
Generated by
1.8.17