18 #ifndef DUPLICATE_NODES_H 19 #define DUPLICATE_NODES_H 104 unsigned int n_nodes()
const {
return n_duplicated_nodes_; }
108 {
return objects_[dim]; }
120 void init_from_edges();
123 void init_from_elements();
126 void duplicate_nodes();
152 #endif // DUPLICATE_NODES_H const std::vector< unsigned int > & node_dim() const
std::vector< unsigned int > node_dim_
Vector of space dimensions of elements using the particular duplicated node.
MeshObject * faces[4]
(dim-1)-dimensional faces
const std::vector< MeshObject > & objects(unsigned int dim) const
const std::vector< unsigned int > & obj_4_edg() const
unsigned int n_duplicated_nodes_
Number of nodes (including duplicated ones).
Mesh * mesh_
The mesh object.
MeshObject(unsigned int dim)
std::vector< unsigned int > obj_4_el_
unsigned int n_nodes() const
unsigned int nodes[4]
Indices of nodes.
unsigned int dim_
Dimension of n-face.
std::vector< unsigned int > obj_4_edg_
Vector of object indices for each mesh edge.
const std::vector< unsigned int > & obj_4_el() const