OGS
RemoveMeshComponents.cpp File Reference

Detailed Description

Definition in file RemoveMeshComponents.cpp.

Include dependency graph for RemoveMeshComponents.cpp:

Go to the source code of this file.

Namespaces

namespace  MeshToolsLib
 
namespace  MeshToolsLib::details
 

Functions

std::vector< MeshLib::Element * > MeshToolsLib::details::excludeElementCopy (std::vector< MeshLib::Element * > const &vec_src_eles, std::vector< std::size_t > const &vec_removed)
 
MeshLib::MeshMeshToolsLib::removeElements (const MeshLib::Mesh &mesh, const std::vector< std::size_t > &removed_element_ids, const std::string &new_mesh_name)
 
std::vector< bool > MeshToolsLib::markUnusedNodes (std::vector< MeshLib::Element * > const &elements, std::vector< MeshLib::Node * > const &nodes)
 Marks nodes not used by any of the elements.
 
void MeshToolsLib::removeMarkedNodes (std::vector< bool > const &nodes_to_delete, std::vector< MeshLib::Node * > &nodes)
 Deallocates and removes nodes marked true.
 
MeshLib::MeshMeshToolsLib::removeNodes (const MeshLib::Mesh &mesh, const std::vector< std::size_t > &del_nodes_idx, const std::string &new_mesh_name)