Wildmeshing Toolkit
Swap32EnergyBeforeInvariantDouble.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
Swap32EnergyBeforeInvariantDouble
:
public
Invariant
8
{
9
public
:
10
Swap32EnergyBeforeInvariantDouble
(
11
const
Mesh
& m,
12
const
attribute::TypedAttributeHandle<double>
& coordinate,
13
double
eps = 1.0001);
14
using
Invariant::Invariant
;
15
16
bool
before
(
const
simplex::Simplex
& t)
const override
;
17
18
private
:
19
const
attribute::TypedAttributeHandle<double>
m_coordinate_handle
;
20
const
double
m_eps
;
21
};
22
}
// namespace wmtk
Invariant.hpp
TypedAttributeHandle.hpp
wmtk::Mesh
Definition:
Mesh.hpp:107
wmtk::Swap32EnergyBeforeInvariantDouble
Definition:
Swap32EnergyBeforeInvariantDouble.hpp:8
wmtk::Swap32EnergyBeforeInvariantDouble::before
bool before(const simplex::Simplex &t) const override
Definition:
Swap32EnergyBeforeInvariantDouble.cpp:16
wmtk::Swap32EnergyBeforeInvariantDouble::m_coordinate_handle
const attribute::TypedAttributeHandle< double > m_coordinate_handle
Definition:
Swap32EnergyBeforeInvariantDouble.hpp:19
wmtk::Swap32EnergyBeforeInvariantDouble::Swap32EnergyBeforeInvariantDouble
Swap32EnergyBeforeInvariantDouble(const Mesh &m, const attribute::TypedAttributeHandle< double > &coordinate, double eps=1.0001)
Definition:
Swap32EnergyBeforeInvariantDouble.cpp:7
wmtk::Swap32EnergyBeforeInvariantDouble::m_eps
const double m_eps
Definition:
Swap32EnergyBeforeInvariantDouble.hpp:20
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
Swap32EnergyBeforeInvariantDouble.hpp
Generated by
1.9.1