Wildmeshing Toolkit
Loading...
Searching...
No Matches
find_local_dart_action.hpp
Go to the documentation of this file.
1#pragma once
2#include "SimplexDart.hpp"
3
4// #include "wmtk/multimesh/utils/find_local_dart_action.hpp"
5namespace wmtk::autogen {
6inline int8_t find_local_dart_action(const SimplexDart& sd, int8_t source, int8_t target)
7{
8 int8_t src_inv = sd.inverse(source);
9 return sd.product(target, src_inv);
10}
11} // namespace wmtk::autogen
int8_t inverse(int8_t a) const
int8_t product(int8_t a, int8_t b) const
int8_t find_local_dart_action(const SimplexDart &sd, int8_t source, int8_t target)