Wildmeshing Toolkit
SimplexDart.hpp
Go to the documentation of this file.
1 
2 #pragma once
3 // DO NOT MODIFY, autogenerated from the /scripts directory
4 #include <Eigen/Core>
5 #include <array>
6 #include <cassert>
7 #include <wmtk/PrimitiveType.hpp>
8 #include <wmtk/Types.hpp>
9 
10 namespace wmtk::autogen::point_mesh {
12 {
13 public:
15 
16  static int8_t product(int8_t a, int8_t b)
17  {
18  assert(a == 0 && b == 0);
19  return 0;
20  }
21  static int8_t inverse(int8_t a) { return 0; }
22  static int8_t primitive_to_index(wmtk::PrimitiveType) { return 0; }
23  static int8_t identity() { return 0; }
24  static int8_t opposite() { return 0; }
25  constexpr static size_t size() { return 1; }
26 
27  const static std::array<int8_t, 1> _indices;
28  static auto valid_indices() { return Vector<int8_t, 1>::ConstMapType(_indices.data()); }
29  static auto valid_indices_dynamic()
30  {
32  }
33 
34  // constexpr static Eigen::Map<const Eigen::Matrix<int8_t, SimplexDart::size(), 1>>
35  // constexpr static auto valid_indices()
36  //{
37  // return Vector<int8_t,return sizeof(auto_valid_tuple_indices) / sizeof(int8_t); }
38  // {auto_valid_tuple_indices};
39  //}
40 };
41 
42 } // namespace wmtk::autogen::point_mesh
static int8_t primitive_to_index(wmtk::PrimitiveType)
Definition: SimplexDart.hpp:22
static const std::array< int8_t, 1 > _indices
Definition: SimplexDart.hpp:27
static int8_t product(int8_t a, int8_t b)
Definition: SimplexDart.hpp:16
constexpr static size_t size()
Definition: SimplexDart.hpp:25
Eigen::Matrix< T, R, 1 > Vector
Definition: Types.hpp:17
Vector< T, Eigen::Dynamic > VectorX
Definition: Types.hpp:19