Wildmeshing Toolkit
Loading...
Searching...
No Matches
neighbors_single_dimension.hpp
Go to the documentation of this file.
1#pragma once
2#include <vector>
4#include <wmtk/Tuple.hpp>
5
6namespace wmtk {
7class Mesh;
8}
9namespace wmtk::simplex {
10class Simplex;
11
12// computes every simplex of the target type that is a face or coface of the input simplex
13std::vector<Simplex> neighbors_single_dimension(
14 const Mesh& m,
15 const Simplex& input_simplex,
16 const PrimitiveType target_primitive_type);
17std::vector<Tuple> neighbors_single_dimension_tuples(
18 const Mesh& m,
19 const Simplex& input_simplex,
20 const PrimitiveType target_primitive_type);
21} // namespace wmtk::simplex
std::vector< Tuple > neighbors_single_dimension_tuples(const Mesh &m, const Simplex &s, const PrimitiveType tpt)
std::vector< Simplex > neighbors_single_dimension(const Mesh &m, const Simplex &s, const PrimitiveType pt)