Wildmeshing Toolkit
Loading...
Searching...
No Matches
top_dimension_cofaces.hpp
Go to the documentation of this file.
1#pragma once
2
4
5namespace wmtk {
6 class PointMesh;
7 class EdgeMesh;
8 class TriMesh;
9 class TetMesh;
10}
11namespace wmtk::simplex {
12
28 const Simplex& simplex,
29 SimplexCollection& simplex_collection,
30 const bool sort_and_clean = true);
31
32
40 const Mesh& mesh,
41 const Simplex& simplex,
42 SimplexCollection& collection);
43
45 const PointMesh& mesh,
46 const Simplex& simplex,
47 SimplexCollection& collection);
48
50 const EdgeMesh& mesh,
51 const Simplex& simplex,
52 SimplexCollection& collection);
53
55 const TriMesh& mesh,
56 const Simplex& simplex,
57 SimplexCollection& collection);
58
60 const TetMesh& mesh,
61 const Simplex& simplex,
62 SimplexCollection& collection);
63
64
66 const PointMesh& mesh,
67 const Simplex& simplex,
68 std::vector<Tuple>& collection);
69
71 const EdgeMesh& mesh,
72 const Simplex& simplex,
73 std::vector<Tuple>& collection);
74
76 const TriMesh& mesh,
77 const Simplex& simplex,
78 std::vector<Tuple>& collection);
79
81 const TetMesh& mesh,
82 const Simplex& simplex,
83 std::vector<Tuple>& collection);
84
86 const Mesh& mesh,
87 const Simplex& simplex,
88 std::vector<Tuple>& collection);
89
105SimplexCollection
106top_dimension_cofaces(const Mesh& mesh, const Simplex& simplex, const bool sort_and_clean = true);
107
108SimplexCollection top_dimension_cofaces(
109 const TriMesh& mesh,
110 const Simplex& simplex,
111 const bool sort_and_clean = true);
112
113SimplexCollection top_dimension_cofaces(
114 const TetMesh& mesh,
115 const Simplex& simplex,
116 const bool sort_and_clean = true);
117
124std::vector<Tuple> top_dimension_cofaces_tuples(const Mesh& mesh, const Simplex& simplex);
125
126std::vector<Tuple> top_dimension_cofaces_tuples(const PointMesh& mesh, const Simplex& simplex);
127
128std::vector<Tuple> top_dimension_cofaces_tuples(const EdgeMesh& mesh, const Simplex& simplex);
129
130std::vector<Tuple> top_dimension_cofaces_tuples(const TriMesh& mesh, const Simplex& simplex);
131
132std::vector<Tuple> top_dimension_cofaces_tuples(const TetMesh& mesh, const Simplex& simplex);
133
134
135} // 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.