OGS
DuplicateMeshComponents.cpp File Reference

Detailed Description

Implementation of Duplicate functions.

Author
Karsten Rink
Date
2014-03-25

Definition in file DuplicateMeshComponents.cpp.

Include dependency graph for DuplicateMeshComponents.cpp:

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)
 
template<typename E >
ElementMeshLib::copyElement (Element const *const element, const std::vector< Node * > &nodes, std::vector< std::size_t > const *const 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.