21 #include <ext/alloc_traits.h>
49 inline unsigned int dim()
const;
50 inline unsigned int n_sides()
const;
51 inline unsigned int n_nodes()
const;
57 inline unsigned int edge_idx(
unsigned int edg_idx)
const;
60 inline int pid()
const {
70 inline unsigned int node_idx(
unsigned int ni)
const {
114 template<
int spacedim,
class Value>
132 return dim() == 0 ? 0 :
dim()+1;
Class represents boundary part of mesh.
unsigned int node_idx(unsigned int ni) const
Return index (in Mesh::node_vec) of ni-th node.
unsigned int * boundary_idx_
RegionIdx region_idx() const
unsigned int edge_idx(unsigned int edg_idx) const
Return edge_idx of given index.
int pid_
Id # of mesh partition.
unsigned int n_neighs_vb() const
Return number of neighbours.
bool inverted
Inverted permutation of element nodes, negative Jacobian.
unsigned int n_neighs_vb_
void init(unsigned int dim, RegionIdx reg)
std::array< unsigned int, 4 > nodes_
indices to element's nodes
uint permutation_
Index of permutation of input nodes.
int pid() const
Return Id of mesh partition.
unsigned int n_sides() const
std::vector< unsigned int > edge_idx_
Edges on sides.
unsigned int n_nodes() const
Class template representing a field with values dependent on: point, element, and region.
Base class for Mesh and BCMesh.
const unsigned int undef_idx