Wildmeshing Toolkit
SimplexEqualFunctor.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <
wmtk/Mesh.hpp
>
4
#include <
wmtk/simplex/Simplex.hpp
>
5
#include <
wmtk/simplex/utils/SimplexComparisons.hpp
>
6
7
namespace
wmtk::simplex::internal
{
8
struct
SimplexEqualFunctor
9
{
10
const
Mesh
&
m
;
11
12
SimplexEqualFunctor
(
const
Mesh
& mm)
13
:
m
{mm}
14
{}
15
16
bool
operator()
(
const
Simplex
& s0,
const
Simplex
& s1)
const
17
{
18
return
utils::SimplexComparisons::equal
(
m
, s0, s1);
19
}
20
};
21
22
}
// namespace wmtk::simplex::internal
Mesh.hpp
Simplex.hpp
SimplexComparisons.hpp
wmtk::Mesh
Definition:
Mesh.hpp:107
wmtk::simplex::Simplex
Definition:
Simplex.hpp:22
wmtk::simplex::utils::SimplexComparisons::equal
static bool equal(const Mesh &m, const Simplex &s0, const Simplex &s1)
Definition:
SimplexComparisons.hxx:8
wmtk::simplex::internal
This class is a utility to perform breadth first search on simplices.
Definition:
boundary_with_preserved_coface.hpp:10
wmtk::simplex::internal::SimplexEqualFunctor
Definition:
SimplexEqualFunctor.hpp:9
wmtk::simplex::internal::SimplexEqualFunctor::SimplexEqualFunctor
SimplexEqualFunctor(const Mesh &mm)
Definition:
SimplexEqualFunctor.hpp:12
wmtk::simplex::internal::SimplexEqualFunctor::operator()
bool operator()(const Simplex &s0, const Simplex &s1) const
Definition:
SimplexEqualFunctor.hpp:16
wmtk::simplex::internal::SimplexEqualFunctor::m
const Mesh & m
Definition:
SimplexEqualFunctor.hpp:10
src
wmtk
simplex
internal
SimplexEqualFunctor.hpp
Generated by
1.9.1