Wildmeshing Toolkit
wmtk::operations::utils Namespace Reference

Classes

class  MultiMeshEdgeCollapseFunctor
 
class  MultiMeshEdgeSplitFunctor
 
class  UpdateEdgeOperationMultiMeshMapFunctor
 

Typedefs

using CollapseReturnData = wmtk::multimesh::operations::CollapseReturnData
 
using SplitReturnData = wmtk::multimesh::operations::SplitReturnData
 

Functions

std::shared_ptr< invariants::InvariantCollectionmultimesh_edge_collapse_invariants (const Mesh &m)
 
CollapseReturnData multi_mesh_edge_collapse (Mesh &mesh, const simplex::NavigatableSimplex &t, const std::vector< std::shared_ptr< const operations::BaseCollapseNewAttributeStrategy >> &new_attr_strategies)
 
std::vector< simplex::Simplexmulti_mesh_edge_collapse_with_modified_simplices (Mesh &mesh, const simplex::Simplex &simplex, const std::vector< std::shared_ptr< const operations::BaseCollapseNewAttributeStrategy >> &new_attr_strategies)
 
CollapseReturnData multi_mesh_edge_collapse (Mesh &mesh, const Tuple &t, const std::vector< std::shared_ptr< const operations::BaseCollapseNewAttributeStrategy >> &new_attr_strategies)
 
std::shared_ptr< invariants::InvariantCollectionmultimesh_edge_split_invariants (const Mesh &m)
 
SplitReturnData multi_mesh_edge_split (Mesh &mesh, const simplex::NavigatableSimplex &t, const std::vector< std::shared_ptr< const operations::BaseSplitNewAttributeStrategy >> &new_attr_strategies)
 
std::vector< simplex::Simplexmulti_mesh_edge_split_with_modified_simplices (Mesh &mesh, const simplex::Simplex &simplex, const std::vector< std::shared_ptr< const operations::BaseSplitNewAttributeStrategy >> &new_attr_strategies)
 

Typedef Documentation

◆ CollapseReturnData

◆ SplitReturnData

Function Documentation

◆ multi_mesh_edge_collapse() [1/2]

CollapseReturnData wmtk::operations::utils::multi_mesh_edge_collapse ( Mesh mesh,
const simplex::NavigatableSimplex t,
const std::vector< std::shared_ptr< const operations::BaseCollapseNewAttributeStrategy >> &  new_attr_strategies 
)

Definition at line 24 of file multi_mesh_edge_collapse.cpp.

References wmtk::multimesh::MultiMeshSimplexVisitor< cell_dimension_, NodeFunctor_ >::execute_from_root(), wmtk::multimesh::operations::extract_operation_in_out(), wmtk::multimesh::MultiMeshVisitor(), and wmtk::multimesh::MultiMeshSimplexEventVisitor< cell_dimension, Functor >::run_on_nodes().

Referenced by multi_mesh_edge_collapse_with_modified_simplices().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ multi_mesh_edge_collapse() [2/2]

CollapseReturnData wmtk::operations::utils::multi_mesh_edge_collapse ( Mesh mesh,
const Tuple t,
const std::vector< std::shared_ptr< const operations::BaseCollapseNewAttributeStrategy >> &  new_attr_strategies 
)

◆ multi_mesh_edge_collapse_with_modified_simplices()

std::vector< simplex::Simplex > wmtk::operations::utils::multi_mesh_edge_collapse_with_modified_simplices ( Mesh mesh,
const simplex::Simplex simplex,
const std::vector< std::shared_ptr< const operations::BaseCollapseNewAttributeStrategy >> &  new_attr_strategies 
)

Definition at line 56 of file multi_mesh_edge_collapse.cpp.

References wmtk::Mesh::is_free(), multi_mesh_edge_collapse(), wmtk::simplex::top_dimension_cofaces(), and wmtk::simplex::Simplex::vertex().

Referenced by wmtk::operations::EdgeCollapse::execute().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ multi_mesh_edge_split()

SplitReturnData wmtk::operations::utils::multi_mesh_edge_split ( Mesh mesh,
const simplex::NavigatableSimplex t,
const std::vector< std::shared_ptr< const operations::BaseSplitNewAttributeStrategy >> &  new_attr_strategies 
)

Definition at line 25 of file multi_mesh_edge_split.cpp.

References wmtk::multimesh::MultiMeshSimplexVisitor< cell_dimension_, NodeFunctor_ >::execute_from_root(), wmtk::multimesh::operations::extract_operation_in_out(), wmtk::multimesh::MultiMeshVisitor(), wmtk::multimesh::MultiMeshSimplexEventVisitor< cell_dimension, Functor >::run_on_edges(), and wmtk::multimesh::MultiMeshSimplexEventVisitor< cell_dimension, Functor >::run_on_nodes().

Referenced by multi_mesh_edge_split_with_modified_simplices().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ multi_mesh_edge_split_with_modified_simplices()

std::vector< simplex::Simplex > wmtk::operations::utils::multi_mesh_edge_split_with_modified_simplices ( Mesh mesh,
const simplex::Simplex simplex,
const std::vector< std::shared_ptr< const operations::BaseSplitNewAttributeStrategy >> &  new_attr_strategies 
)

Definition at line 59 of file multi_mesh_edge_split.cpp.

References wmtk::Mesh::is_free(), multi_mesh_edge_split(), and wmtk::simplex::top_dimension_cofaces().

Referenced by wmtk::operations::EdgeSplit::execute().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ multimesh_edge_collapse_invariants()

std::shared_ptr< invariants::InvariantCollection > wmtk::operations::utils::multimesh_edge_collapse_invariants ( const Mesh m)

Definition at line 17 of file multi_mesh_edge_collapse.cpp.

◆ multimesh_edge_split_invariants()

std::shared_ptr< invariants::InvariantCollection > wmtk::operations::utils::multimesh_edge_split_invariants ( const Mesh m)

Definition at line 18 of file multi_mesh_edge_split.cpp.