Wildmeshing Toolkit
Loading...
Searching...
No Matches
SimplicialEmbedding.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <
wmtk/Mesh.hpp
>
4
5
namespace
wmtk::components::internal
{
6
7
/*
8
* This class is used to seperate mesh and make sure there are no direct connection
9
* between independent simplicity collection
10
*/
11
class
SimplicialEmbedding
12
{
13
public
:
14
SimplicialEmbedding
(
15
Mesh
& mesh,
16
const
std::vector<attribute::MeshAttributeHandle>& label_attributes,
17
const
int64_t& value,
18
const
std::vector<attribute::MeshAttributeHandle>& pass_through_attributes);
19
27
void
regularize_tags
(
bool
generate_simplicial_embedding =
true
);
28
29
private
:
30
Mesh
&
m_mesh
;
31
32
std::vector<attribute::MeshAttributeHandle>
m_label_attributes
;
33
int64_t
m_value
;
34
35
std::vector<attribute::MeshAttributeHandle>
m_pass_through_attributes
;
36
};
37
38
}
// namespace wmtk::components::internal
Mesh.hpp
wmtk::Mesh
Definition
Mesh.hpp:95
wmtk::components::internal::SimplicialEmbedding
Definition
SimplicialEmbedding.hpp:12
wmtk::components::internal::SimplicialEmbedding::m_pass_through_attributes
std::vector< attribute::MeshAttributeHandle > m_pass_through_attributes
Definition
SimplicialEmbedding.hpp:35
wmtk::components::internal::SimplicialEmbedding::regularize_tags
void regularize_tags(bool generate_simplicial_embedding=true)
Regularize tags in mesh.
Definition
SimplicialEmbedding.cpp:53
wmtk::components::internal::SimplicialEmbedding::m_label_attributes
std::vector< attribute::MeshAttributeHandle > m_label_attributes
Definition
SimplicialEmbedding.hpp:32
wmtk::components::internal::SimplicialEmbedding::m_value
int64_t m_value
Definition
SimplicialEmbedding.hpp:33
wmtk::components::internal::SimplicialEmbedding::m_mesh
Mesh & m_mesh
Definition
SimplicialEmbedding.hpp:30
wmtk::components::internal
Definition
CDT.cpp:16
components
simplicial_embedding
wmtk
components
simplicial_embedding
internal
SimplicialEmbedding.hpp
Generated by
1.9.8