Wildmeshing Toolkit
Loading...
Searching...
No Matches
IdSimplex.cpp
Go to the documentation of this file.
1#include "IdSimplex.hpp"
2#include <wmtk/Mesh.hpp>
4namespace wmtk::simplex {
5
7 : IdSimplex(s.primitive_type(), s.index())
8{}
9
10int64_t IdSimplex::id(const Mesh& m, PrimitiveType pt, const Tuple& t)
11{
12 return m.id(t, pt);
13}
14} // namespace wmtk::simplex
int64_t id(const Tuple &tuple, PrimitiveType type) const
return the global id of the Tuple of the given dimension
Definition Mesh.hpp:1006
The Tuple is the basic navigation tool in our mesh data structure.
Definition Tuple.hpp:19
static int64_t id(const Mesh &m, PrimitiveType pt, const Tuple &t)
Definition IdSimplex.cpp:10