ViennaGrid - The Vienna Grid Library
2.1.0
|
Contains functions for deleting elements from a domin. More...
#include "viennagrid/forwards.hpp"
#include "viennagrid/storage/container_collection.hpp"
#include "viennagrid/mesh/mesh.hpp"
#include "viennagrid/mesh/segmentation.hpp"
#include "viennagrid/mesh/coboundary_iteration.hpp"
#include "viennagrid/mesh/mesh_operations.hpp"
#include <iterator>
Go to the source code of this file.
Data Structures | |
struct | erase_from_view_functor< MeshViewT > |
struct | erase_functor< MeshT, MeshViewT > |
For internal use only. More... | |
struct | switch_handle_functor< MeshT, ToSwtichElementHandleT > |
For internal use only. More... | |
Namespaces | |
namespace | viennagrid |
The main ViennaGrid namespace. Most user functionality resides directly in this namespace rather than in sub-namespaces. | |
namespace | viennagrid::detail |
Namespace for implementation details. Not intended to be used directly by a library user. | |
Functions | |
template<typename MeshT , typename HandleT > | |
void | erase_element (MeshT &mesh_obj, HandleT element_to_erase) |
Erases a single elements and all elements which references this element from a mesh. If more than one element is erase use erase_elements instead for better performance. | |
template<typename WrappedConfigT , typename ToEraseViewT > | |
void | erase_elements (viennagrid::mesh< WrappedConfigT > &mesh_obj, ToEraseViewT &elements_to_erase) |
Erases all elements marked for deletion and all elements which references these elements from a mesh. | |
template<typename WrappedConfigType , typename ElementTypeList , typename ContainerConfig , typename ToEraseViewT > | |
void | erase_elements (viennagrid::mesh< viennagrid::detail::decorated_mesh_view_config< WrappedConfigType, ElementTypeList, ContainerConfig > > &view_obj, ToEraseViewT &elements_to_erase) |
Erases all elements marked for deletion and all elements which references these elements from a view. | |
template<typename MeshT , typename MeshViewT , typename HandleT > | |
void | mark_erase_elements (MeshT &mesh_obj, MeshViewT &elements_to_erase, HandleT host_element) |
Tags all elements connected to a given host_element for erasure. Call erase_element on 'elements_to_erase' to finally delete them. | |
template<typename MeshT , typename HandleT > | |
void | switch_handle (MeshT &mesh_obj, HandleT old_handle, HandleT new_handle) |
For internal use only. |
Contains functions for deleting elements from a domin.