Wildmeshing Toolkit
Loading...
Searching...
No Matches
local_switch_tuple.hpp
Go to the documentation of this file.
1
2#pragma once
3#include <wmtk/Primitive.hpp>
4#include <wmtk/Tuple.hpp>
5
6// NOTE: this header primarily exists to simplify unit testing, not really for use
7namespace wmtk::autogen {
8 class SimplexDart ;
9 class Dart;
10Tuple local_switch_tuple(PrimitiveType mesh_type, const Tuple& t, PrimitiveType pt);
11Tuple local_switch_tuple(PrimitiveType mesh_type, const Tuple& t, int8_t valid_tuple_index);
12
13namespace internal {
16} // namespace internal
17} // namespace wmtk::autogen
int8_t identity_valid_tuple_index(PrimitiveType mesh_type)
int8_t switch_primitive_to_valid_tuple_index(PrimitiveType mesh_type, PrimitiveType pt)
Tuple local_switch_tuple(PrimitiveType mesh_type, const Tuple &t, PrimitiveType pt)