Wildmeshing Toolkit
Swap2dEdgeLengthInvariant.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <
wmtk/attribute/TypedAttributeHandle.hpp
>
4
#include "
Invariant.hpp
"
5
6
namespace
wmtk
{
7
class
Swap2dEdgeLengthInvariant
:
public
Invariant
8
{
9
public
:
10
Swap2dEdgeLengthInvariant
(
11
const
Mesh
& m,
12
const
attribute::TypedAttributeHandle<double>
& coordinate);
13
using
Invariant::Invariant
;
14
15
bool
before
(
const
simplex::Simplex
& t)
const override
;
16
17
private
:
18
const
attribute::TypedAttributeHandle<double>
m_coordinate_handle
;
19
};
20
}
// namespace wmtk
Invariant.hpp
TypedAttributeHandle.hpp
wmtk::Mesh
Definition:
Mesh.hpp:106
wmtk::Swap2dEdgeLengthInvariant
Definition:
Swap2dEdgeLengthInvariant.hpp:8
wmtk::Swap2dEdgeLengthInvariant::before
bool before(const simplex::Simplex &t) const override
Definition:
Swap2dEdgeLengthInvariant.cpp:14
wmtk::Swap2dEdgeLengthInvariant::Swap2dEdgeLengthInvariant
Swap2dEdgeLengthInvariant(const Mesh &m, const attribute::TypedAttributeHandle< double > &coordinate)
Definition:
Swap2dEdgeLengthInvariant.cpp:7
wmtk::Swap2dEdgeLengthInvariant::m_coordinate_handle
const attribute::TypedAttributeHandle< double > m_coordinate_handle
Definition:
Swap2dEdgeLengthInvariant.hpp:18
wmtk::attribute::TypedAttributeHandle< double >
wmtk::invariants::Invariant
Definition:
Invariant.hpp:12
wmtk::invariants::Invariant::Invariant
Invariant(const Mesh &m)
Definition:
Invariant.cpp:10
wmtk::simplex::Simplex
Definition:
Simplex.hpp:22
wmtk
Definition:
Accessor.hpp:6
src
wmtk
invariants
Swap2dEdgeLengthInvariant.hpp
Generated by
1.9.1