31 const std::vector<std::size_t>& removed_element_ids,
32 const std::string& new_mesh_name);
43 const std::vector<std::size_t>& del_nodes_idx,
44 const std::string& new_mesh_name);
47 std::vector<bool>
markUnusedNodes(std::vector<Element*>
const& elements,
48 std::vector<Node*>
const& nodes);
52 std::vector<Node*>& nodes);
MeshLib::Mesh * removeElements(const MeshLib::Mesh &mesh, const std::vector< std::size_t > &removed_element_ids, const std::string &new_mesh_name)
std::vector< bool > markUnusedNodes(std::vector< Element * > const &elements, std::vector< Node * > const &nodes)
Marks nodes not used by any of the elements.
MeshLib::Mesh * removeNodes(const MeshLib::Mesh &mesh, const std::vector< std::size_t > &del_nodes_idx, const std::string &new_mesh_name)
void removeMarkedNodes(std::vector< bool > const &nodes_to_delete, std::vector< Node * > &nodes)
Deallocates and removes nodes marked true.