Wildmeshing Toolkit
faces_single_dimension.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #include <wmtk/Primitive.hpp>
4 
5 #include "SimplexCollection.hpp"
6 
7 namespace wmtk::simplex {
76 SimplexCollection
77 faces_single_dimension(const Mesh& mesh, const Simplex& simplex, const PrimitiveType face_type);
78 
80  SimplexCollection& simplex_collection,
81  const Simplex& simplex,
82  const PrimitiveType face_type);
83 
84 std::vector<Tuple> faces_single_dimension_tuples(
85  const Mesh& mesh,
86  const Simplex& simplex,
87  const PrimitiveType face_type);
88 } // namespace wmtk::simplex
SimplexCollection faces_single_dimension(const Mesh &mesh, const Simplex &simplex, const PrimitiveType face_type)
Returns a vector with all faces in the boundary of a simplex of the given dimension.
std::vector< Tuple > faces_single_dimension_tuples(const Mesh &mesh, const Simplex &simplex, const PrimitiveType face_type)