Flow123d
master-92884d111
|
Go to the documentation of this file.
18 #ifndef MAKE_NEIGHBOURS_H
19 #define MAKE_NEIGHBOURS_H
127 inline unsigned int edge_idx()
const;
148 ASSERT_EQ(
edge().n_sides(), 1 ).error(
"VB neighbouring must be with 1 side.\n");
unsigned int edge_idx_
Index of Edge in Mesh.
unsigned int elem_idx_
Index of element in Mesh::element_vec_.
ElementAccessor< 3 > element() const
SideIter side(const unsigned int i) const
Gets side iterator of the i -th side.
ElementAccessor< 3 > element_accessor(unsigned int idx) const
Create and return ElementAccessor to element of given idx.
#define ASSERT_EQ(a, b)
Definition of comparative assert macro (EQual) only for debug mode.
unsigned int edge_idx() const
Edge edge(uint edge_idx) const
Return edge with given index.
void reinit(MeshBase *mesh, unsigned int elem_idx, unsigned int edge_idx)
MeshBase * mesh_
Pointer to Mesh to which belonged.
Base class for Mesh and BCMesh.
Class represents boundary part of mesh.