Wildmeshing Toolkit
TupleCellLessThanFunctor.hpp
Go to the documentation of this file.
1
#pragma once
2
#include <
wmtk/Tuple.hpp
>
3
4
namespace
wmtk::utils
{
5
class
TupleCellLessThan
6
{
7
public
:
8
bool
operator()
(
const
Tuple
& a,
const
Tuple
& b)
const
9
{
10
return
a.
m_global_cid
< b.
m_global_cid
;
11
}
12
};
13
}
// namespace wmtk::utils
Tuple.hpp
wmtk::Tuple
Definition:
Tuple.hpp:42
wmtk::Tuple::m_global_cid
int64_t m_global_cid
Definition:
Tuple.hpp:46
wmtk::utils::TupleCellLessThan
Definition:
TupleCellLessThanFunctor.hpp:6
wmtk::utils::TupleCellLessThan::operator()
bool operator()(const Tuple &a, const Tuple &b) const
Definition:
TupleCellLessThanFunctor.hpp:8
wmtk::utils
Definition:
Tuple.hpp:22
src
wmtk
utils
TupleCellLessThanFunctor.hpp
Generated by
1.9.1