Wildmeshing Toolkit
Loading...
Searching...
No Matches
subdart_maximal_action_to_face.cpp
Go to the documentation of this file.
1
// DO NOT MODIFY, autogenerated from the /scripts directory
2
#include "
subdart_maximal_action_to_face.hpp
"
3
#include "
SimplexDart.hpp
"
4
#include "
autogenerated_tables.hpp
"
5
#include "
local_id_table_offset.hpp
"
6
namespace
wmtk::autogen::edge_mesh
{
7
int8_t
subdart_maximal_action_to_face_action
(
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
20
int8_t
subdart_maximal_action_to_face_size
(
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
wmtk::autogen::edge_mesh::SimplexDart::identity
static int8_t identity()
Definition
SimplexDart.hpp:21
wmtk::autogen::edge_mesh
Definition
autogenerated_tables.cpp:4
wmtk::autogen::edge_mesh::subdart_maximal_action_to_face_size
int8_t subdart_maximal_action_to_face_size(int8_t dart_index, int8_t simplex_dimension, int8_t simplex_index)
Definition
subdart_maximal_action_to_face.cpp:20
wmtk::autogen::edge_mesh::subdart_maximal_action_to_face
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.
Definition
subdart_maximal_action_to_face.cpp:33
wmtk::autogen::edge_mesh::subdart_maximal_action_to_face_action
int8_t subdart_maximal_action_to_face_action(int8_t dart_index, int8_t simplex_dimension, int8_t simplex_index)
Definition
subdart_maximal_action_to_face.cpp:7
SimplexDart.hpp
autogenerated_tables.hpp
local_id_table_offset.hpp
subdart_maximal_action_to_face.hpp
src
wmtk
autogen
edge_mesh
subdart_maximal_action_to_face.cpp
Generated by
1.9.8