Wildmeshing Toolkit
SimplexLessFunctor.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
SimplexLessFunctor
9
{
10
const
Mesh
&
m
;
11
12
SimplexLessFunctor
(
const
Mesh
& mm)
13
:
m
{mm}
14
{}
15
16
bool
operator()
(
const
Simplex
& s0,
const
Simplex
& s1)
const
17
{
18
return
utils::SimplexComparisons::less
(
m
, s0, s1);
19
}
20
};
21
22
}
// namespace wmtk::simplex::internal
Mesh.hpp
Simplex.hpp
SimplexComparisons.hpp
wmtk::Mesh
Definition:
Mesh.hpp:106
wmtk::simplex::Simplex
Definition:
Simplex.hpp:22
wmtk::simplex::utils::SimplexComparisons::less
static bool less(const Mesh &m, const Simplex &s0, const Simplex &s1)
Definition:
SimplexComparisons.hxx:44
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::SimplexLessFunctor
Definition:
SimplexLessFunctor.hpp:9
wmtk::simplex::internal::SimplexLessFunctor::m
const Mesh & m
Definition:
SimplexLessFunctor.hpp:10
wmtk::simplex::internal::SimplexLessFunctor::operator()
bool operator()(const Simplex &s0, const Simplex &s1) const
Definition:
SimplexLessFunctor.hpp:16
wmtk::simplex::internal::SimplexLessFunctor::SimplexLessFunctor
SimplexLessFunctor(const Mesh &mm)
Definition:
SimplexLessFunctor.hpp:12
src
wmtk
simplex
internal
SimplexLessFunctor.hpp
Generated by
1.9.1