Wildmeshing Toolkit
Loading...
Searching...
No Matches
TetMeshSubstructureTopologyPreservingInvariant.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
TetMeshSubstructureTopologyPreservingInvariant
:
public
Invariant
9
{
10
public
:
11
TetMeshSubstructureTopologyPreservingInvariant
(
12
const
Mesh
& m,
13
const
TypedAttributeHandle<int64_t>
& substructure_face_tag_handle,
14
const
TypedAttributeHandle<int64_t>
& substructure_edge_tag_handle,
15
const
int64_t substructure_tag_value);
16
bool
before
(
const
simplex::Simplex
& input_simplex)
const override
;
17
18
private
:
19
TypedAttributeHandle<int64_t>
m_substructure_face_tag_handle
;
20
TypedAttributeHandle<int64_t>
m_substructure_edge_tag_handle
;
21
int64_t
m_substructure_tag_value
;
22
};
23
24
}
// namespace wmtk::invariants
Invariant.hpp
MeshAttributeHandle.hpp
wmtk::Mesh
Definition
Mesh.hpp:95
wmtk::attribute::TypedAttributeHandle
Handle that represents attributes for some mesh.
Definition
TypedAttributeHandle.hpp:28
wmtk::invariants::Invariant
Definition
Invariant.hpp:12
wmtk::invariants::TetMeshSubstructureTopologyPreservingInvariant
Definition
TetMeshSubstructureTopologyPreservingInvariant.hpp:9
wmtk::invariants::TetMeshSubstructureTopologyPreservingInvariant::before
bool before(const simplex::Simplex &input_simplex) const override
Definition
TetMeshSubstructureTopologyPreservingInvariant.cpp:22
wmtk::invariants::TetMeshSubstructureTopologyPreservingInvariant::m_substructure_edge_tag_handle
TypedAttributeHandle< int64_t > m_substructure_edge_tag_handle
Definition
TetMeshSubstructureTopologyPreservingInvariant.hpp:20
wmtk::invariants::TetMeshSubstructureTopologyPreservingInvariant::m_substructure_face_tag_handle
TypedAttributeHandle< int64_t > m_substructure_face_tag_handle
Definition
TetMeshSubstructureTopologyPreservingInvariant.hpp:19
wmtk::invariants::TetMeshSubstructureTopologyPreservingInvariant::m_substructure_tag_value
int64_t m_substructure_tag_value
Definition
TetMeshSubstructureTopologyPreservingInvariant.hpp:21
wmtk::simplex::Simplex
Definition
Simplex.hpp:22
wmtk::invariants
Definition
CollapseEnergyBeforeInvariant.cpp:11
src
wmtk
invariants
TetMeshSubstructureTopologyPreservingInvariant.hpp
Generated by
1.9.8