Wildmeshing Toolkit
EdgeValenceInvariant.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include "
Invariant.hpp
"
4
5
namespace
wmtk::invariants
{
6
12
class
EdgeValenceInvariant
:
public
Invariant
13
{
14
public
:
15
EdgeValenceInvariant
(
const
Mesh
& m, int64_t valence);
16
17
bool
before
(
const
simplex::Simplex
& t)
const override
;
18
19
private
:
20
int64_t
m_valence
;
21
};
22
23
}
// namespace wmtk::invariants
Invariant.hpp
wmtk::Mesh
Definition:
Mesh.hpp:106
wmtk::invariants::EdgeValenceInvariant
for edge swap in tetmesh.
Definition:
EdgeValenceInvariant.hpp:13
wmtk::invariants::EdgeValenceInvariant::before
bool before(const simplex::Simplex &t) const override
Definition:
EdgeValenceInvariant.cpp:11
wmtk::invariants::EdgeValenceInvariant::EdgeValenceInvariant
EdgeValenceInvariant(const Mesh &m, int64_t valence)
Definition:
EdgeValenceInvariant.cpp:6
wmtk::invariants::EdgeValenceInvariant::m_valence
int64_t m_valence
Definition:
EdgeValenceInvariant.hpp:20
wmtk::invariants::Invariant
Definition:
Invariant.hpp:12
wmtk::simplex::Simplex
Definition:
Simplex.hpp:22
wmtk::invariants
Definition:
CollapseEnergyBeforeInvariant.cpp:11
src
wmtk
invariants
EdgeValenceInvariant.hpp
Generated by
1.9.1