Wildmeshing Toolkit
Loading...
Searching...
No Matches
CollapseNewAttributeTopoInfo.hpp
Go to the documentation of this file.
1
#pragma once
2
#include <
wmtk/operations/attribute_new/CollapseNewAttributeTopoInfo.hpp
>
3
#include "
EdgeOperationData.hpp
"
4
5
namespace
wmtk::operations::tet_mesh
{
6
class
CollapseNewAttributeTopoInfo
:
public
wmtk::operations::CollapseNewAttributeTopoInfo
7
{
8
public
:
9
CollapseNewAttributeTopoInfo
(
TetMesh
& m);
10
11
// the sipmlices that were merged together
12
std::vector<std::array<Tuple, 2>>
merged_simplices
(
13
const
ReturnVariant
& ret_data,
14
const
Tuple
& input_tuple,
15
PrimitiveType
pt)
const
final
override
;
16
17
// the simplices that were created by merging simplices
18
std::vector<Tuple>
new_simplices
(
19
const
ReturnVariant
& ret_data,
20
const
Tuple
& input_tuple,
21
PrimitiveType
pt)
const
final
override
;
22
23
private
:
24
// the sipmlices that were merged together
25
std::vector<std::array<Tuple, 2>>
merged_simplices
(
26
const
EdgeOperationData
& ret_data,
27
const
Tuple
& input_tuple,
28
PrimitiveType
pt)
const
;
29
30
// the simplices that were created by merging simplices
31
std::vector<Tuple>
new_simplices
(
32
const
EdgeOperationData
& ret_data,
33
const
Tuple
& input_tuple,
34
PrimitiveType
pt)
const
;
35
36
TetMesh
&
m_mesh
;
37
};
38
}
// namespace wmtk::operations::tet_mesh
CollapseNewAttributeTopoInfo.hpp
wmtk::TetMesh
Definition
TetMesh.hpp:14
wmtk::Tuple
The Tuple is the basic navigation tool in our mesh data structure.
Definition
Tuple.hpp:19
wmtk::operations::CollapseNewAttributeTopoInfo
Definition
CollapseNewAttributeTopoInfo.hpp:7
wmtk::operations::CollapseNewAttributeTopoInfo::ReturnVariant
ReturnData::ReturnVariant ReturnVariant
Definition
CollapseNewAttributeTopoInfo.hpp:10
wmtk::operations::tet_mesh::CollapseNewAttributeTopoInfo
Definition
CollapseNewAttributeTopoInfo.hpp:7
wmtk::operations::tet_mesh::CollapseNewAttributeTopoInfo::merged_simplices
std::vector< std::array< Tuple, 2 > > merged_simplices(const ReturnVariant &ret_data, const Tuple &input_tuple, PrimitiveType pt) const final override
Definition
CollapseNewAttributeTopoInfo.cpp:19
wmtk::operations::tet_mesh::CollapseNewAttributeTopoInfo::new_simplices
std::vector< Tuple > new_simplices(const ReturnVariant &ret_data, const Tuple &input_tuple, PrimitiveType pt) const final override
Definition
CollapseNewAttributeTopoInfo.cpp:28
wmtk::operations::tet_mesh::CollapseNewAttributeTopoInfo::m_mesh
TetMesh & m_mesh
Definition
CollapseNewAttributeTopoInfo.hpp:36
wmtk::operations::tet_mesh::EdgeOperationData
Definition
EdgeOperationData.hpp:13
wmtk::operations::tet_mesh
Definition
CollapseNewAttributeTopoInfo.cpp:4
wmtk::PrimitiveType
PrimitiveType
Definition
PrimitiveType.hpp:9
EdgeOperationData.hpp
src
wmtk
operations
tet_mesh
CollapseNewAttributeTopoInfo.hpp
Generated by
1.9.8