Wildmeshing Toolkit
SimplexInversionInvariant.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
template
<
typename
T>
8
class
SimplexInversionInvariant
:
public
Invariant
9
{
10
public
:
11
SimplexInversionInvariant
(
const
Mesh
& m,
const
TypedAttributeHandle<T>
& coordinate);
12
using
Invariant::Invariant
;
13
18
bool
after
(
const
std::vector<Tuple>&,
const
std::vector<Tuple>& top_dimension_tuples_after)
19
const override
;
20
21
private
:
22
const
TypedAttributeHandle<T>
m_coordinate_handle
;
23
};
24
25
}
// namespace wmtk
Invariant.hpp
TypedAttributeHandle.hpp
wmtk::Mesh
Definition:
Mesh.hpp:107
wmtk::SimplexInversionInvariant
Definition:
SimplexInversionInvariant.hpp:9
wmtk::SimplexInversionInvariant::SimplexInversionInvariant
SimplexInversionInvariant(const Mesh &m, const TypedAttributeHandle< T > &coordinate)
Definition:
SimplexInversionInvariant.cpp:14
wmtk::SimplexInversionInvariant::after
bool after(const std::vector< Tuple > &, const std::vector< Tuple > &top_dimension_tuples_after) const override
we assume with local vid order (v0,v1,v2,v3) has positive volume (orient3d(v0,v1,v2,...
Definition:
SimplexInversionInvariant.cpp:22
wmtk::SimplexInversionInvariant::m_coordinate_handle
const TypedAttributeHandle< T > m_coordinate_handle
Definition:
SimplexInversionInvariant.hpp:22
wmtk::attribute::TypedAttributeHandle
Handle that represents attributes for some mesh.
Definition:
TypedAttributeHandle.hpp:28
wmtk::invariants::Invariant
Definition:
Invariant.hpp:12
wmtk::invariants::Invariant::Invariant
Invariant(const Mesh &m)
Definition:
Invariant.cpp:10
wmtk
Definition:
Accessor.hpp:6
src
wmtk
invariants
SimplexInversionInvariant.hpp
Generated by
1.9.1