Wildmeshing Toolkit
subdart_maximal_action_to_face.cpp
Go to the documentation of this file.
1 // DO NOT MODIFY, autogenerated from the /scripts directory
3 #include "SimplexDart.hpp"
6 namespace wmtk::autogen::edge_mesh {
8  int8_t dart_index,
9  int8_t simplex_dimension,
10  int8_t simplex_index)
11 {
12  switch (simplex_dimension) {
13  case 1: return SimplexDart::identity();
14  default: break;
15  }
16  assert(false);
17  return 0;
18 }
19 
21  int8_t dart_index,
22  int8_t simplex_dimension,
23  int8_t simplex_index)
24 {
25  switch (simplex_dimension) {
26  case 1: return 1;
27  default: break;
28  }
29  return 0;
30 }
31 
32 std::array<int8_t, 2>
33 subdart_maximal_action_to_face(int8_t dart_index, int8_t simplex_dimension, int8_t simplex_index)
34 {
35  switch (simplex_dimension) {
36  case 1: return std::array<int8_t, 2>{{SimplexDart::identity(), 1}};
37 
38  default: break;
39  }
40  assert(false);
41  return {};
42 }
43 } // namespace wmtk::autogen::edge_mesh
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.
int8_t subdart_maximal_action_to_face_action(int8_t dart_index, int8_t simplex_dimension, int8_t simplex_index)