Flow123d
JS_before_hm-2150-g5e4b4b118
|
Go to the documentation of this file.
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;
unsigned int n_neighs_vb() const
Return number of neighbours.
std::vector< unsigned int > edge_idx_
Edges on sides.
bool inverted
Inverted permutation of element nodes, negative Jacobian.
int pid_
Id # of mesh partition.
uint permutation_
Index of permutation of input nodes.
const unsigned int undef_idx
unsigned int n_neighs_vb_
void init(unsigned int dim, RegionIdx reg)
unsigned int node_idx(unsigned int ni) const
Return index (in Mesh::node_vec) of ni-th node.
std::array< unsigned int, 4 > nodes_
indices to element's nodes
unsigned int edge_idx(unsigned int edg_idx) const
Return edge_idx of given index.
unsigned int n_sides() const
int pid() const
Return Id of mesh partition.
Base class for Mesh and BCMesh.
Class represents boundary part of mesh.
Class template representing a field with values dependent on: point, element, and region.
RegionIdx region_idx() const
unsigned int * boundary_idx_
unsigned int n_nodes() const