Wildmeshing Toolkit
simplex_index_from_valid_index.hxx
Go to the documentation of this file.
1
#pragma once
2
// DO NOT MODIFY, autogenerated from the /scripts directory
3
#include "
autogenerated_tables.hpp
"
4
#include "
local_id_table_offset.hpp
"
5
#include "
simplex_index_from_valid_index.hpp
"
6
namespace
wmtk::autogen::tet_mesh
{
7
inline
int8_t
simplex_index_from_valid_index
(int8_t valid_index,
wmtk::PrimitiveType
type)
8
{
9
const
int8_t type_index =
get_primitive_type_id
(type);
10
return
auto_valid_tuples
[valid_index][type_index];
11
}
12
13
}
// namespace wmtk::autogen::tet_mesh
wmtk::autogen::tet_mesh
Definition:
autogenerated_tables.cpp:4
wmtk::autogen::tet_mesh::auto_valid_tuples
const int8_t auto_valid_tuples[24][3]
Definition:
autogenerated_tables.cpp:77
wmtk::autogen::tet_mesh::simplex_index_from_valid_index
int8_t simplex_index_from_valid_index(int8_t valid_index, wmtk::PrimitiveType type)
Definition:
simplex_index_from_valid_index.hxx:7
wmtk::get_primitive_type_id
constexpr int8_t get_primitive_type_id(PrimitiveType t)
Get a unique integer id corresponding to each primitive type.
Definition:
PrimitiveType.hpp:18
wmtk::PrimitiveType
PrimitiveType
Definition:
PrimitiveType.hpp:9
autogenerated_tables.hpp
local_id_table_offset.hpp
simplex_index_from_valid_index.hpp
src
wmtk
autogen
tet_mesh
simplex_index_from_valid_index.hxx
Generated by
1.9.1