Wildmeshing Toolkit
TriMeshSubstructureTopologyPreservingInvariant.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <
wmtk/attribute/MeshAttributeHandle.hpp
>
4
#include "
Invariant.hpp
"
5
6
namespace
wmtk::invariants
{
7
8
class
TriMeshSubstructureTopologyPreservingInvariant
:
public
Invariant
9
{
10
public
:
11
TriMeshSubstructureTopologyPreservingInvariant
(
12
const
Mesh
& m,
13
const
TypedAttributeHandle<int64_t>
& substructure_edge_tag_handle,
14
const
int64_t substructure_tag_value);
15
bool
before
(
const
simplex::Simplex
& input_simplex)
const override
;
16
17
private
:
18
TypedAttributeHandle<int64_t>
m_substructure_edge_tag_handle
;
19
int64_t
m_substructure_tag_value
;
20
};
21
22
}
// namespace wmtk::invariants
Invariant.hpp
MeshAttributeHandle.hpp
wmtk::Mesh
Definition:
Mesh.hpp:106
wmtk::attribute::TypedAttributeHandle
Handle that represents attributes for some mesh.
Definition:
TypedAttributeHandle.hpp:28
wmtk::invariants::Invariant
Definition:
Invariant.hpp:12
wmtk::invariants::TriMeshSubstructureTopologyPreservingInvariant
Definition:
TriMeshSubstructureTopologyPreservingInvariant.hpp:9
wmtk::invariants::TriMeshSubstructureTopologyPreservingInvariant::TriMeshSubstructureTopologyPreservingInvariant
TriMeshSubstructureTopologyPreservingInvariant(const Mesh &m, const TypedAttributeHandle< int64_t > &substructure_edge_tag_handle, const int64_t substructure_tag_value)
Definition:
TriMeshSubstructureTopologyPreservingInvariant.cpp:11
wmtk::invariants::TriMeshSubstructureTopologyPreservingInvariant::m_substructure_edge_tag_handle
TypedAttributeHandle< int64_t > m_substructure_edge_tag_handle
Definition:
TriMeshSubstructureTopologyPreservingInvariant.hpp:18
wmtk::invariants::TriMeshSubstructureTopologyPreservingInvariant::m_substructure_tag_value
int64_t m_substructure_tag_value
Definition:
TriMeshSubstructureTopologyPreservingInvariant.hpp:19
wmtk::invariants::TriMeshSubstructureTopologyPreservingInvariant::before
bool before(const simplex::Simplex &input_simplex) const override
Definition:
TriMeshSubstructureTopologyPreservingInvariant.cpp:20
wmtk::simplex::Simplex
Definition:
Simplex.hpp:22
wmtk::invariants
Definition:
CollapseEnergyBeforeInvariant.cpp:11
src
wmtk
invariants
TriMeshSubstructureTopologyPreservingInvariant.hpp
Generated by
1.9.1