36 std::vector<Element*>
const& elements,
37 std::vector<Node*>
const& new_nodes,
38 std::vector<std::size_t>
const*
const node_id_map =
nullptr);
43 const std::vector<Node*>& nodes,
44 std::vector<std::size_t>
const*
const id_map =
nullptr);
47std::vector<Element*>
cloneElements(std::vector<Element*>
const& elements);
std::vector< Node * > copyNodeVector(const std::vector< Node * > &nodes)
Creates a deep copy of a Node vector.
Element * copyElement(Element const *const element, const std::vector< Node * > &nodes, std::vector< std::size_t > const *const id_map)
std::vector< Element * > copyElementVector(std::vector< Element * > const &elements, std::vector< Node * > const &new_nodes, std::vector< std::size_t > const *const node_id_map)
std::vector< Element * > cloneElements(std::vector< Element * > const &elements)
Clones a vector of elements using the Element::clone() function.