27 inline Side::Side(
const Mesh * mesh,
unsigned int elem_idx,
unsigned int set_lnum)
28 : mesh_(mesh), elem_idx_(elem_idx), side_idx_(set_lnum)
54 ASSERT(
valid() ).error(
"Wrong use of uninitialized accessor.\n");
const Edge * edge() const
unsigned int * boundary_idx_
NodeAccessor< 3 > node_accessor(unsigned int ni) const
unsigned int side_idx() const
unsigned int edge_idx() const
static const unsigned int undef_idx
vector< vector< vector< unsigned int > > > side_nodes
#define ASSERT(expr)
Allow use shorter versions of macro names if these names is not used with external library...
vector< Boundary > boundary_
ElementAccessor< 3 > element() const
virtual ElementAccessor< 3 > element_accessor(unsigned int idx) const
Create and return ElementAccessor to element of given idx.
unsigned int elem_idx_
Index of element in Mesh::element_vec_.
void check_element_size(unsigned int elem_idx) const
Check if given index is in element_vec_.
unsigned int edge_idx(unsigned int edg_idx) const
Return edge_idx of given index.
NodeAccessor< 3 > node(unsigned int i) const
unsigned int side_idx_
Local # of side in element (to remove it, we heve to remove calc_side_rhs)
unsigned int cond_idx() const
const Mesh * mesh_
Pointer to Mesh to which belonged.
std::vector< Edge > edges
Vector of MH edges, this should not be part of the geometrical mesh.
unsigned int elem_idx() const
const Mesh * mesh() const
unsigned int n_nodes() const