m3sh.itertools.
fdual_bfs#
- fdual_bfs(*seeds, stop=None, start=1)#
Dual breadth-first face neighborhood iterator.
Breadth-first search using dual mesh combinatorics.
- Parameters:
- *seeds
At least one but otherwise arbitrary number of faces.
- stopint, optional
All faces at dual edge distance less or equal to stop are visited. If
None, the search continues until all faces of a connected component are visited.- startint, optional
Face reporting starts at the given distance level. Seed faces are not reported by default.
- Yields:
- Face
The next face in a breadth-first search.
- int
Distance