Wildmeshing Toolkit
Loading...
Searching...
No Matches
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>
8#include <wmtk/Types.hpp>
9
12{
13public:
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()); }
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)
static const std::array< int8_t, 1 > _indices
static int8_t product(int8_t a, int8_t b)
Eigen::Matrix< T, R, 1 > Vector
Definition Types.hpp:17
Vector< T, Eigen::Dynamic > VectorX
Definition Types.hpp:19