OGS
MeshSurfaceExtraction.cpp File Reference

Detailed Description

Implementation of the MeshSurfaceExtraction class.

Author
Karsten Rink
Date
2013-04-04

Definition in file MeshSurfaceExtraction.cpp.

Include dependency graph for MeshSurfaceExtraction.cpp:

Go to the source code of this file.

Namespaces

namespace  MeshToolsLib
 
namespace  MeshToolsLib::BoundaryExtraction
 

Functions

template<typename T >
void MeshToolsLib::processPropertyVector (MeshLib::PropertyVector< T > const &property, std::vector< std::size_t > const &id_map, MeshLib::Mesh &sfc_mesh)
 
bool MeshToolsLib::createSfcMeshProperties (MeshLib::Mesh &sfc_mesh, MeshLib::Properties const &properties, std::vector< std::size_t > const &node_ids_map, std::vector< std::size_t > const &element_ids_map)
 
std::tuple< std::vector< MeshLib::Node * >, std::vector< std::size_t > > MeshToolsLib::createNodesAndIDMapFromElements (std::vector< MeshLib::Element * > const &elements, std::size_t const n_all_nodes)
 
void MeshToolsLib::createSurfaceElementsFromElement (MeshLib::Element const &surface_element, std::vector< MeshLib::Element * > &surface_elements, std::vector< std::size_t > &element_to_bulk_element_id_map, std::vector< std::size_t > &element_to_bulk_face_id_map)
 
std::tuple< std::vector< MeshLib::Element * >, std::vector< std::size_t >, std::vector< std::size_t > > MeshToolsLib::createBoundaryElements (MeshLib::Mesh const &bulk_mesh)
 
std::unique_ptr< MeshLib::MeshMeshToolsLib::BoundaryExtraction::getBoundaryElementsAsMesh (MeshLib::Mesh const &bulk_mesh, std::string_view subsfc_node_id_prop_name, std::string_view subsfc_element_id_prop_name, std::string_view face_id_prop_name)
 
void MeshToolsLib::addBulkIDPropertiesToMesh (MeshLib::Mesh &surface_mesh, std::string_view node_to_bulk_node_id_map_name, std::vector< std::size_t > const &node_to_bulk_node_id_map, std::string_view element_to_bulk_element_id_map_name, std::vector< std::size_t > const &element_to_bulk_element_id_map, std::string_view element_to_bulk_face_id_map_name, std::vector< std::size_t > const &element_to_bulk_face_id_map)