Wildmeshing Toolkit
Loading...
Searching...
No Matches
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.
global_cid
() < b.
global_cid
();
11
}
12
};
13
}
// namespace wmtk::utils
Tuple.hpp
wmtk::Tuple
The Tuple is the basic navigation tool in our mesh data structure.
Definition
Tuple.hpp:19
wmtk::Tuple::global_cid
int64_t global_cid() const
Definition
Tuple.hxx:47
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
array_to_map.hpp:3
src
wmtk
utils
TupleCellLessThanFunctor.hpp
Generated by
1.9.8