Wildmeshing Toolkit
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"
5
namespace
wmtk::autogen
{
6
inline
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
wmtk::autogen::SimplexDart
Definition:
SimplexDart.hpp:11
wmtk::autogen::SimplexDart::inverse
int8_t inverse(int8_t a) const
Definition:
SimplexDart.cpp:97
wmtk::autogen::SimplexDart::product
int8_t product(int8_t a, int8_t b) const
Definition:
SimplexDart.cpp:93
wmtk::autogen
Definition:
Dart.cpp:4
wmtk::autogen::find_local_dart_action
int8_t find_local_dart_action(const SimplexDart &sd, int8_t source, int8_t target)
Definition:
find_local_dart_action.hpp:6
SimplexDart.hpp
src
wmtk
autogen
find_local_dart_action.hpp
Generated by
1.9.1