OGS
|
Implementation of the MeshSurfaceExtraction class.
Definition in file MeshSurfaceExtraction.cpp.
#include "MeshSurfaceExtraction.h"
#include <memory>
#include <numbers>
#include "BaseLib/Logging.h"
#include "MeshLib/Elements/Line.h"
#include "MeshLib/Elements/Point.h"
#include "MeshLib/Elements/Quad.h"
#include "MeshLib/Elements/Tri.h"
#include "MeshLib/Mesh.h"
#include "MeshLib/MeshSearch/NodeSearch.h"
#include "MeshLib/Utils/DuplicateMeshComponents.h"
#include "MeshLib/Utils/addPropertyToMesh.h"
#include "MeshLib/Utils/getOrCreateMeshProperty.h"
#include "MeshToolsLib/MeshEditing/RemoveMeshComponents.h"
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::Mesh > | MeshToolsLib::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) |