Wildmeshing Toolkit
top_dimension_cofaces.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #include "SimplexCollection.hpp"
4 
5 namespace wmtk::simplex {
6 
22  const Simplex& simplex,
23  SimplexCollection& simplex_collection,
24  const bool sort_and_clean = true);
25 
26 
34  const Mesh& mesh,
35  const Simplex& simplex,
36  SimplexCollection& collection);
37 
39  const PointMesh& mesh,
40  const Simplex& simplex,
41  SimplexCollection& collection);
42 
44  const EdgeMesh& mesh,
45  const Simplex& simplex,
46  SimplexCollection& collection);
47 
49  const TriMesh& mesh,
50  const Simplex& simplex,
51  SimplexCollection& collection);
52 
54  const TetMesh& mesh,
55  const Simplex& simplex,
56  SimplexCollection& collection);
57 
58 
60  const PointMesh& mesh,
61  const Simplex& simplex,
62  std::vector<Tuple>& collection);
63 
65  const EdgeMesh& mesh,
66  const Simplex& simplex,
67  std::vector<Tuple>& collection);
68 
70  const TriMesh& mesh,
71  const Simplex& simplex,
72  std::vector<Tuple>& collection);
73 
75  const TetMesh& mesh,
76  const Simplex& simplex,
77  std::vector<Tuple>& collection);
78 
80  const Mesh& mesh,
81  const Simplex& simplex,
82  std::vector<Tuple>& collection);
83 
99 SimplexCollection
100 top_dimension_cofaces(const Mesh& mesh, const Simplex& simplex, const bool sort_and_clean = true);
101 
102 SimplexCollection top_dimension_cofaces(
103  const TriMesh& mesh,
104  const Simplex& simplex,
105  const bool sort_and_clean = true);
106 
107 SimplexCollection top_dimension_cofaces(
108  const TetMesh& mesh,
109  const Simplex& simplex,
110  const bool sort_and_clean = true);
111 
118 std::vector<Tuple> top_dimension_cofaces_tuples(const Mesh& mesh, const Simplex& simplex);
119 
120 std::vector<Tuple> top_dimension_cofaces_tuples(const PointMesh& mesh, const Simplex& simplex);
121 
122 std::vector<Tuple> top_dimension_cofaces_tuples(const EdgeMesh& mesh, const Simplex& simplex);
123 
124 std::vector<Tuple> top_dimension_cofaces_tuples(const TriMesh& mesh, const Simplex& simplex);
125 
126 std::vector<Tuple> top_dimension_cofaces_tuples(const TetMesh& mesh, const Simplex& simplex);
127 
128 
129 } // namespace wmtk::simplex
void top_dimension_cofaces_tuples(const PointMesh &mesh, const Simplex &simplex, SimplexCollection &collection)
void top_dimension_cofaces(const Simplex &simplex, SimplexCollection &simplex_collection, const bool sort_and_clean)
Get all top dimension cofaces of the given simplex.