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");
#define ASSERT_EQ(a, b)
Definition of comparative assert macro (EQual) only for debug mode.
Class represents boundary part of mesh.
SideIter side(const unsigned int i) const
Gets side iterator of the i -th side.
Base class for Mesh and BCMesh.
Edge edge(uint edge_idx) const
Return edge with given index.
ElementAccessor< 3 > element_accessor(unsigned int idx) const
Create and return ElementAccessor to element of given idx.
MeshBase * mesh_
Pointer to Mesh to which belonged.
unsigned int elem_idx_
Index of element in Mesh::element_vec_.
ElementAccessor< 3 > element() const
unsigned int edge_idx_
Index of Edge in Mesh.
unsigned int edge_idx() const
void reinit(MeshBase *mesh, unsigned int elem_idx, unsigned int edge_idx)