Wildmeshing Toolkit
|
Namespaces | |
internal | |
Classes | |
class | SimplexDart |
Functions | |
Tuple | get_tuple_from_simplex_local_vertex_id (int8_t local_id, int64_t global_id) |
Tuple | get_tuple_from_simplex_local_id (PrimitiveType pt, int8_t local_id, int64_t global_fid) |
bool | is_ccw (const Tuple &t) |
bool | tuple_is_valid_for_ccw (const Tuple &t) |
int64_t | local_id_table_offset (const Tuple &t) |
std::array< int64_t, 1 > | lvid_from_table_offset (int64_t table_offset) |
Tuple | local_switch_tuple (const Tuple &t, PrimitiveType pt) |
Tuple | local_switch_tuple (const Tuple &t, int8_t index) |
int8_t | simplex_index_from_valid_index (int8_t valid_index, wmtk::PrimitiveType type) |
int8_t | subdart_maximal_action_to_face_action (int8_t dart_index, int8_t simplex_dimension, int8_t simplex_index) |
int8_t | subdart_maximal_action_to_face_size (int8_t dart_index, int8_t simplex_dimension, int8_t simplex_index) |
std::array< int8_t, 2 > | subdart_maximal_action_to_face (int8_t dart_index, int8_t simplex_dimension, int8_t simplex_index) |
Returns a dart action that maximizes the number of sub-darts preserved. More... | |
Tuple | tuple_from_valid_index (int64_t global_cid, int8_t valid_tuple_index) |
int8_t | valid_index_from_tuple (const Tuple &t) |
Variables | |
const int8_t | auto_valid_tuples [2][1] = {{0}, {1}} |
const int8_t | auto_valid_tuple_indices [2] = {0, 1} |
const int8_t | auto_all_to_valid_tuple_indices [2] = {0, 1} |
const int8_t | auto_valid_switch_table [2][1] = {{1}, {0}} |
const int8_t | auto_valid_switch_product_table [2][2] = {{0, 1}, {1, 0}} |
const int8_t | auto_valid_switch_inverse_table [2] = {0, 1} |
const int8_t | auto_valid_tuple_switch_indices [3] = {1, 0, 1} |
|
inline |
Definition at line 18 of file get_tuple_from_simplex_local_id.hpp.
References wmtk::Edge, get_tuple_from_simplex_local_vertex_id(), wmtk::Tetrahedron, wmtk::Triangle, and wmtk::Vertex.
|
inline |
Definition at line 11 of file get_tuple_from_simplex_local_id.hpp.
Referenced by get_tuple_from_simplex_local_id().
|
inline |
Definition at line 8 of file is_ccw.hxx.
References tuple_is_valid_for_ccw().
Referenced by wmtk::operations::AMIPSOptimizationSmoothing::execute(), wmtk::operations::AMIPSOptimizationSmoothingPeriodic::execute(), and wmtk::autogen::is_ccw().
|
inline |
Definition at line 7 of file local_id_table_offset.hxx.
References wmtk::utils::TupleInspector::local_vid().
Referenced by wmtk::autogen::utils::local_id_table_offset(), and valid_index_from_tuple().
Definition at line 31 of file local_switch_tuple.hxx.
References auto_valid_switch_product_table, wmtk::utils::TupleInspector::global_cid(), tuple_from_valid_index(), and valid_index_from_tuple().
|
inline |
Definition at line 11 of file local_switch_tuple.hxx.
References wmtk::Edge, wmtk::Tetrahedron, wmtk::Triangle, and wmtk::Vertex.
Referenced by wmtk::multimesh::utils::local_switch_tuple(), and wmtk::autogen::local_switch_tuple().
|
inline |
Definition at line 12 of file local_id_table_offset.hxx.
|
inline |
Definition at line 7 of file simplex_index_from_valid_index.hxx.
References auto_valid_tuples, and wmtk::get_primitive_type_id().
Referenced by wmtk::autogen::utils::simplex_index_from_valid_index(), wmtk::autogen::simplex_index_from_valid_index(), and wmtk::autogen::utils::valid_index_to_simplex_index().
std::array< int8_t, 2 > wmtk::autogen::edge_mesh::subdart_maximal_action_to_face | ( | int8_t | dart_index, |
int8_t | simplex_dimension, | ||
int8_t | simplex_index | ||
) |
Returns a dart action that maximizes the number of sub-darts preserved.
Definition at line 33 of file subdart_maximal_action_to_face.cpp.
References wmtk::autogen::edge_mesh::SimplexDart::identity().
Referenced by wmtk::autogen::utils::subdart_maximal_action_to_face().
int8_t wmtk::autogen::edge_mesh::subdart_maximal_action_to_face_action | ( | int8_t | dart_index, |
int8_t | simplex_dimension, | ||
int8_t | simplex_index | ||
) |
Definition at line 7 of file subdart_maximal_action_to_face.cpp.
References wmtk::autogen::edge_mesh::SimplexDart::identity().
Referenced by wmtk::autogen::utils::subdart_maximal_action_to_face_action().
int8_t wmtk::autogen::edge_mesh::subdart_maximal_action_to_face_size | ( | int8_t | dart_index, |
int8_t | simplex_dimension, | ||
int8_t | simplex_index | ||
) |
Definition at line 20 of file subdart_maximal_action_to_face.cpp.
Referenced by wmtk::autogen::utils::largest_shared_subdart_size(), and wmtk::autogen::utils::subdart_maximal_action_to_face_size().
|
inline |
Definition at line 7 of file tuple_from_valid_index.hxx.
References auto_valid_tuples.
Referenced by local_switch_tuple(), and wmtk::autogen::tuple_from_valid_index().
|
inline |
Definition at line 14 of file is_ccw.hxx.
References wmtk::Tuple::is_null().
Referenced by is_ccw(), and wmtk::autogen::tuple_is_valid_for_ccw().
|
inline |
Definition at line 7 of file valid_index_from_tuple.hxx.
References auto_all_to_valid_tuple_indices, and local_id_table_offset().
Referenced by local_switch_tuple(), and wmtk::autogen::valid_index_from_tuple().
const int8_t wmtk::autogen::edge_mesh::auto_all_to_valid_tuple_indices = {0, 1} |
Definition at line 10 of file autogenerated_tables.cpp.
Referenced by valid_index_from_tuple().
const int8_t wmtk::autogen::edge_mesh::auto_valid_switch_inverse_table = {0, 1} |
Definition at line 16 of file autogenerated_tables.cpp.
Referenced by wmtk::autogen::edge_mesh::SimplexDart::inverse().
const int8_t wmtk::autogen::edge_mesh::auto_valid_switch_product_table = {{0, 1}, {1, 0}} |
Definition at line 14 of file autogenerated_tables.cpp.
Referenced by local_switch_tuple(), and wmtk::autogen::edge_mesh::SimplexDart::product().
const int8_t wmtk::autogen::edge_mesh::auto_valid_switch_table = {{1}, {0}} |
Definition at line 12 of file autogenerated_tables.cpp.
const int8_t wmtk::autogen::edge_mesh::auto_valid_tuple_indices = {0, 1} |
Definition at line 8 of file autogenerated_tables.cpp.
Referenced by wmtk::autogen::edge_mesh::SimplexDart::size(), wmtk::autogen::edge_mesh::SimplexDart::valid_indices(), and wmtk::autogen::edge_mesh::SimplexDart::valid_indices_dynamic().
const int8_t wmtk::autogen::edge_mesh::auto_valid_tuple_switch_indices = {1, 0, 1} |
Definition at line 18 of file autogenerated_tables.cpp.
Referenced by wmtk::autogen::edge_mesh::SimplexDart::identity(), wmtk::autogen::edge_mesh::SimplexDart::opposite(), wmtk::autogen::edge_mesh::SimplexDart::primitive_to_index(), and wmtk::autogen::edge_mesh::internal::switch_primitive_to_valid_tuple_index().
const int8_t wmtk::autogen::edge_mesh::auto_valid_tuples = {{0}, {1}} |
Definition at line 6 of file autogenerated_tables.cpp.
Referenced by wmtk::autogen::edge_mesh::SimplexDart::simplex_index(), simplex_index_from_valid_index(), and tuple_from_valid_index().