Wildmeshing Toolkit
boundary_with_preserved_face.hpp
Go to the documentation of this file.
1 
2 #pragma once
3 
5 namespace wmtk {
6 class Mesh;
7 }
8 
9 
10 namespace wmtk::simplex::internal {
38 std::vector<Tuple> boundary_with_preserved_face_tuples(
39  const Mesh& mesh,
40  const Tuple& t,
41  PrimitiveType pt,
42  PrimitiveType face_pt);
43 
44 
54 std::vector<Tuple> boundary_with_preserved_face_tuples(
55  const Mesh& mesh,
56  const Simplex& simplex,
57  PrimitiveType face_pt);
58 
77 std::vector<Simplex> boundary_with_preserved_face_simplices(
78  const Mesh& mesh,
79  const Tuple& t,
80  PrimitiveType pt,
81  PrimitiveType face_pt);
82 
83 
93 std::vector<Simplex> boundary_with_preserved_face_simplices(
94  const Mesh& mesh,
95  const Simplex& simplex,
96  PrimitiveType face_pt);
97 } // namespace wmtk::simplex::internal
This class is a utility to perform breadth first search on simplices.
std::vector< Simplex > boundary_with_preserved_face_simplices(const Mesh &mesh, const Tuple &t, PrimitiveType pt, PrimitiveType face_pt)
Returns the faces (single-dimension) of a simplex that are also cofaces of a given face.
std::vector< Tuple > boundary_with_preserved_face_tuples(const Mesh &mesh, const Tuple &t, PrimitiveType pt, PrimitiveType face_pt)
Returns the faces (single-dimension) of a simplex that are also cofaces of a given face.
Definition: Accessor.hpp:6