Wildmeshing Toolkit
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
7
namespace
wmtk::autogen
{
8
class
SimplexDart ;
9
class
Dart;
10
Tuple
local_switch_tuple
(
PrimitiveType
mesh_type,
const
Tuple& t,
PrimitiveType
pt);
11
Tuple
local_switch_tuple
(
PrimitiveType
mesh_type,
const
Tuple& t, int8_t valid_tuple_index);
12
13
namespace
internal
{
14
int8_t
switch_primitive_to_valid_tuple_index
(
PrimitiveType
mesh_type,
PrimitiveType
pt);
15
int8_t
identity_valid_tuple_index
(
PrimitiveType
mesh_type);
16
}
// namespace internal
17
}
// namespace wmtk::autogen
Primitive.hpp
Tuple.hpp
internal
Definition:
local_switch_tuple.hpp:11
wmtk::autogen::internal::identity_valid_tuple_index
int8_t identity_valid_tuple_index(PrimitiveType mesh_type)
Definition:
local_switch_tuple.cpp:43
wmtk::autogen::internal::switch_primitive_to_valid_tuple_index
int8_t switch_primitive_to_valid_tuple_index(PrimitiveType mesh_type, PrimitiveType pt)
Definition:
local_switch_tuple.cpp:30
wmtk::autogen
Definition:
Dart.cpp:4
wmtk::autogen::local_switch_tuple
Tuple local_switch_tuple(PrimitiveType mesh_type, const Tuple &t, PrimitiveType pt)
Definition:
local_switch_tuple.cpp:6
wmtk::PrimitiveType
PrimitiveType
Definition:
PrimitiveType.hpp:9
src
wmtk
autogen
local_switch_tuple.hpp
Generated by
1.9.1