OGS
DuplicateMeshComponents.h File Reference

Detailed Description

Definition of Duplicate functions.

Author
Karsten Rink
Date
2014-03-25

Definition in file DuplicateMeshComponents.h.

#include <vector>
Include dependency graph for DuplicateMeshComponents.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  MeshLib
 

Functions

std::vector< Node * > MeshLib::copyNodeVector (const std::vector< Node * > &nodes)
 Creates a deep copy of a Node vector.
 
std::vector< Element * > MeshLib::copyElementVector (std::vector< Element * > const &elements, std::vector< Node * > const &new_nodes, std::vector< std::size_t > const *const node_id_map)
 
ElementMeshLib::copyElement (Element const *const element, const std::vector< Node * > &nodes, std::vector< std::size_t > const *const id_map)
 
std::vector< Element * > MeshLib::cloneElements (std::vector< Element * > const &elements)
 Clones a vector of elements using the Element::clone() function.