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_edge_id (int8_t local_id, int64_t global_id) |
Tuple | get_tuple_from_simplex_local_face_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, 3 > | lvid_leid_lfid_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 valid_tuple_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 int64_t | auto_3d_edges [6][2] = {{0, 1}, {0, 2}, {0, 3}, {1, 2}, {1, 3}, {2, 3}} |
const int64_t | auto_3d_faces [4][3] = {{1, 2, 3}, {0, 2, 3}, {0, 1, 3}, {0, 1, 2}} |
const int64_t | auto_3d_table_vertex [96][3] |
const int64_t | auto_3d_table_edge [96][3] |
const int64_t | auto_3d_table_face [96][3] |
const int64_t | auto_3d_table_ccw [96] |
const int64_t | auto_3d_table_complete_vertex [4][3] = {{0, 0, 2}, {1, 0, 3}, {2, 1, 1}, {3, 2, 2}} |
const int64_t | auto_3d_table_complete_edge [6][3] |
const int64_t | auto_3d_table_complete_face [4][3] = {{1, 3, 0}, {0, 2, 1}, {0, 0, 2}, {0, 1, 3}} |
const int8_t | auto_valid_tuples [24][3] |
const int8_t | auto_valid_tuple_indices [24] |
const int8_t | auto_all_to_valid_tuple_indices [96] |
const int8_t | auto_valid_switch_table [24][3] |
const int8_t | auto_valid_switch_product_table [24][24] |
const int8_t | auto_valid_switch_inverse_table [24] |
const int8_t | auto_valid_tuple_switch_indices [5] = {7, 3, 0, 1, 22} |
const int8_t | subdart_preserving_action_1 [24][6] |
const int8_t | max_subdart_preservation_dimension_1 [24][6] |
const int8_t | subdart_preserving_action_2 [24][4] |
const int8_t | max_subdart_preservation_dimension_2 [24][4] |
|
inline |
Definition at line 20 of file get_tuple_from_simplex_local_id.hpp.
References auto_3d_table_complete_edge.
Referenced by wmtk::TetMesh::edge_tuple_from_id(), and get_tuple_from_simplex_local_id().
|
inline |
Definition at line 29 of file get_tuple_from_simplex_local_id.hpp.
References auto_3d_table_complete_face.
Referenced by wmtk::TetMesh::face_tuple_from_id(), and get_tuple_from_simplex_local_id().
|
inline |
Definition at line 38 of file get_tuple_from_simplex_local_id.hpp.
References wmtk::Edge, get_tuple_from_simplex_local_edge_id(), get_tuple_from_simplex_local_face_id(), 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.
References auto_3d_table_complete_vertex.
Referenced by get_tuple_from_simplex_local_id(), and wmtk::TetMesh::vertex_tuple_from_id().
|
inline |
Definition at line 10 of file is_ccw.hxx.
References auto_3d_table_ccw, local_id_table_offset(), and tuple_is_valid_for_ccw().
Referenced by wmtk::TetMesh::is_ccw(), and wmtk::autogen::is_ccw().
|
inline |
Definition at line 6 of file local_id_table_offset.hxx.
References wmtk::utils::TupleInspector::local_eid(), wmtk::utils::TupleInspector::local_fid(), and wmtk::utils::TupleInspector::local_vid().
Referenced by is_ccw(), wmtk::autogen::utils::local_id_table_offset(), local_switch_tuple(), tuple_is_valid_for_ccw(), and valid_index_from_tuple().
|
inline |
Definition at line 46 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 12 of file local_switch_tuple.hxx.
References auto_3d_table_edge, auto_3d_table_face, auto_3d_table_vertex, wmtk::Edge, local_id_table_offset(), wmtk::Tetrahedron, wmtk::Triangle, and wmtk::Vertex.
Referenced by wmtk::multimesh::utils::local_switch_tuple(), wmtk::autogen::local_switch_tuple(), and wmtk::TetMesh::switch_tuple().
|
inline |
Definition at line 18 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::tet_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 41 of file subdart_maximal_action_to_face.cpp.
References wmtk::autogen::tet_mesh::SimplexDart::identity(), max_subdart_preservation_dimension_1, max_subdart_preservation_dimension_2, subdart_preserving_action_1, and subdart_preserving_action_2.
Referenced by wmtk::autogen::utils::subdart_maximal_action_to_face().
int8_t wmtk::autogen::tet_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::tet_mesh::SimplexDart::identity(), subdart_preserving_action_1, and subdart_preserving_action_2.
Referenced by wmtk::autogen::utils::subdart_maximal_action_to_face_action().
int8_t wmtk::autogen::tet_mesh::subdart_maximal_action_to_face_size | ( | int8_t | dart_index, |
int8_t | simplex_dimension, | ||
int8_t | simplex_index | ||
) |
Definition at line 24 of file subdart_maximal_action_to_face.cpp.
References max_subdart_preservation_dimension_1, and max_subdart_preservation_dimension_2.
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 17 of file is_ccw.hxx.
References auto_3d_table_ccw, and local_id_table_offset().
Referenced by is_ccw(), wmtk::TetMesh::is_valid(), 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 int64_t wmtk::autogen::tet_mesh::auto_3d_edges = {{0, 1}, {0, 2}, {0, 3}, {1, 2}, {1, 3}, {2, 3}} |
Definition at line 6 of file autogenerated_tables.cpp.
Referenced by wmtk::tetmesh_topology_initialization().
const int64_t wmtk::autogen::tet_mesh::auto_3d_faces = {{1, 2, 3}, {0, 2, 3}, {0, 1, 3}, {0, 1, 2}} |
Definition at line 8 of file autogenerated_tables.cpp.
Referenced by wmtk::tetmesh_topology_initialization().
const int64_t wmtk::autogen::tet_mesh::auto_3d_table_ccw |
Definition at line 64 of file autogenerated_tables.cpp.
Referenced by is_ccw(), and tuple_is_valid_for_ccw().
const int64_t wmtk::autogen::tet_mesh::auto_3d_table_complete_edge |
Definition at line 72 of file autogenerated_tables.cpp.
Referenced by get_tuple_from_simplex_local_edge_id().
const int64_t wmtk::autogen::tet_mesh::auto_3d_table_complete_face = {{1, 3, 0}, {0, 2, 1}, {0, 0, 2}, {0, 1, 3}} |
Definition at line 75 of file autogenerated_tables.cpp.
Referenced by get_tuple_from_simplex_local_face_id().
const int64_t wmtk::autogen::tet_mesh::auto_3d_table_complete_vertex = {{0, 0, 2}, {1, 0, 3}, {2, 1, 1}, {3, 2, 2}} |
Definition at line 70 of file autogenerated_tables.cpp.
Referenced by get_tuple_from_simplex_local_vertex_id(), and wmtk::TetMesh::tet_tuple_from_id().
const int64_t wmtk::autogen::tet_mesh::auto_3d_table_edge |
Definition at line 28 of file autogenerated_tables.cpp.
Referenced by local_switch_tuple().
const int64_t wmtk::autogen::tet_mesh::auto_3d_table_face |
Definition at line 46 of file autogenerated_tables.cpp.
Referenced by local_switch_tuple().
const int64_t wmtk::autogen::tet_mesh::auto_3d_table_vertex |
Definition at line 10 of file autogenerated_tables.cpp.
Referenced by local_switch_tuple().
const int8_t wmtk::autogen::tet_mesh::auto_all_to_valid_tuple_indices |
Definition at line 85 of file autogenerated_tables.cpp.
Referenced by valid_index_from_tuple().
const int8_t wmtk::autogen::tet_mesh::auto_valid_switch_inverse_table |
Definition at line 123 of file autogenerated_tables.cpp.
Referenced by wmtk::autogen::tet_mesh::SimplexDart::inverse().
const int8_t wmtk::autogen::tet_mesh::auto_valid_switch_product_table |
Definition at line 97 of file autogenerated_tables.cpp.
Referenced by local_switch_tuple(), and wmtk::autogen::tet_mesh::SimplexDart::product().
const int8_t wmtk::autogen::tet_mesh::auto_valid_switch_table |
Definition at line 91 of file autogenerated_tables.cpp.
const int8_t wmtk::autogen::tet_mesh::auto_valid_tuple_indices |
Definition at line 82 of file autogenerated_tables.cpp.
Referenced by wmtk::autogen::tet_mesh::SimplexDart::size(), wmtk::autogen::tet_mesh::SimplexDart::valid_indices(), and wmtk::autogen::tet_mesh::SimplexDart::valid_indices_dynamic().
const int8_t wmtk::autogen::tet_mesh::auto_valid_tuple_switch_indices = {7, 3, 0, 1, 22} |
Definition at line 126 of file autogenerated_tables.cpp.
Referenced by wmtk::autogen::tet_mesh::SimplexDart::identity(), wmtk::autogen::tet_mesh::SimplexDart::opposite(), wmtk::autogen::tet_mesh::SimplexDart::primitive_to_index(), and wmtk::autogen::tet_mesh::internal::switch_primitive_to_valid_tuple_index().
const int8_t wmtk::autogen::tet_mesh::auto_valid_tuples |
Definition at line 77 of file autogenerated_tables.cpp.
Referenced by wmtk::autogen::tet_mesh::SimplexDart::simplex_index(), simplex_index_from_valid_index(), and tuple_from_valid_index().
const int8_t wmtk::autogen::tet_mesh::max_subdart_preservation_dimension_1 |
Definition at line 136 of file autogenerated_tables.cpp.
Referenced by subdart_maximal_action_to_face(), and subdart_maximal_action_to_face_size().
const int8_t wmtk::autogen::tet_mesh::max_subdart_preservation_dimension_2 |
Definition at line 150 of file autogenerated_tables.cpp.
Referenced by subdart_maximal_action_to_face(), and subdart_maximal_action_to_face_size().
const int8_t wmtk::autogen::tet_mesh::subdart_preserving_action_1 |
Definition at line 128 of file autogenerated_tables.cpp.
Referenced by subdart_maximal_action_to_face(), and subdart_maximal_action_to_face_action().
const int8_t wmtk::autogen::tet_mesh::subdart_preserving_action_2 |
Definition at line 144 of file autogenerated_tables.cpp.
Referenced by subdart_maximal_action_to_face(), and subdart_maximal_action_to_face_action().