Wildmeshing Toolkit
subdart_maximal_action_to_face.hpp
Go to the documentation of this file.
1 #pragma once
2 // DO NOT MODIFY, autogenerated from the /scripts directory
3 #include <array>
4 #include <cstdint>
5 #include <wmtk/PrimitiveType.hpp>
6 
7 namespace wmtk::autogen::utils {
8 // given a specific type of mesh, a dart, and the specification of a simplex via (primitivetype/index) finds the dart that such that
9 // dart \cap subdart_maximal_action_to_face_action(mesh_type,dart_index, primitive_type, simplex_index) is as large as possible.
11  PrimitiveType mesh_type,
12  int8_t dart_index,
13  PrimitiveType primitive_type,
14  int8_t simplex_index);
16  PrimitiveType mesh_type,
17  int8_t dart_index,
18  int8_t simplex_dimension,
19  int8_t simplex_index);
20 
21 
22 
23 // samea s above, but also returns the size of the maximal subdart returned by the image intersected with the input dart
24 std::array<int8_t, 2> subdart_maximal_action_to_face(
25  PrimitiveType mesh_type,
26  int8_t dart_index,
27  PrimitiveType primitive_type,
28  int8_t simplex_index);
29 std::array<int8_t, 2> subdart_maximal_action_to_face(
30  PrimitiveType mesh_type,
31  int8_t dart_index,
32  int8_t simplex_dimension,
33  int8_t simplex_index);
34 } // namespace wmtk::autogen::utils
auto subdart_maximal_action_to_face_action(PrimitiveType mesh_type, int8_t dart_index, int8_t simplex_dimension, int8_t simplex_index) -> int8_t
auto subdart_maximal_action_to_face(PrimitiveType mesh_type, int8_t dart_index, int8_t simplex_dimension, int8_t simplex_index) -> std::array< int8_t, 2 >