18 #ifndef DUPLICATE_NODES_H
19 #define DUPLICATE_NODES_H
std::vector< unsigned int > obj_4_el_
const std::vector< unsigned int > & node_dim() const
unsigned int n_duplicated_nodes_
Number of nodes (including duplicated ones).
void duplicate_nodes()
Duplicate nodes that are lying on interfaces with fractures.
void init_nodes()
Initialize the vector of nodes from mesh.
unsigned int n_nodes() const
std::vector< unsigned int > node_dim_
Vector of space dimensions of elements using the particular duplicated node.
const std::vector< unsigned int > & obj_4_edg() const
MeshBase * mesh_
The mesh object.
std::vector< unsigned int > obj_4_edg_
Vector of object indices for each mesh edge.
const std::vector< MeshObject > & objects(unsigned int dim) const
void init_from_elements()
Initialize objects from mesh elements.
void init_from_edges()
Initialize objects from mesh edges.
DuplicateNodes(MeshBase *mesh)
std::vector< MeshObject > objects_[4]
Array of n-faces by their dimension.
const std::vector< unsigned int > & obj_4_el() const
Base class for Mesh and BCMesh.
MeshObject(unsigned int dim)
unsigned int dim_
Dimension of n-face.
unsigned int faces[4]
Indices of (dim-1)-dimensional faces within the global vector of objects with given dimension.
unsigned int nodes[4]
Indices of nodes.