Wildmeshing Toolkit
valid_index_from_tuple.cpp
Go to the documentation of this file.
1 
3 #include <cassert>
7 namespace wmtk::autogen {
8 int8_t valid_index_from_tuple(PrimitiveType mesh_type, const Tuple& t)
9 {
10  switch (mesh_type) {
15  default: return 0;
16  }
17  return {};
18 }
19 } // namespace wmtk::autogen
int8_t valid_index_from_tuple(const Tuple &t)
int8_t valid_index_from_tuple(const Tuple &t)
int8_t valid_index_from_tuple(const Tuple &t)
int8_t valid_index_from_tuple(PrimitiveType mesh_type, const Tuple &t)