Wildmeshing Toolkit
valid_index_from_tuple.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 "
valid_index_from_tuple.hpp
"
6
namespace
wmtk::autogen::tri_mesh
{
7
inline
int8_t
valid_index_from_tuple
(
const
Tuple
& t)
8
{
9
{
10
const
int64_t offset =
local_id_table_offset
(t);
11
const
int8_t valid_index =
auto_all_to_valid_tuple_indices
[offset];
12
return
valid_index;
13
}
14
}
15
}
// namespace wmtk::autogen::tri_mesh
wmtk::Tuple
Definition:
Tuple.hpp:42
wmtk::autogen::tri_mesh
Definition:
autogenerated_tables.cpp:4
wmtk::autogen::tri_mesh::local_id_table_offset
int64_t local_id_table_offset(const Tuple &t)
Definition:
local_id_table_offset.hxx:7
wmtk::autogen::tri_mesh::valid_index_from_tuple
int8_t valid_index_from_tuple(const Tuple &t)
Definition:
valid_index_from_tuple.hxx:7
wmtk::autogen::tri_mesh::auto_all_to_valid_tuple_indices
const int8_t auto_all_to_valid_tuple_indices[9]
Definition:
autogenerated_tables.cpp:24
autogenerated_tables.hpp
local_id_table_offset.hpp
valid_index_from_tuple.hpp
src
wmtk
autogen
tri_mesh
valid_index_from_tuple.hxx
Generated by
1.9.1