Create an iterator over mesh elements

See: How to enumerate the cells of a mesh with dolfinx v0.6.0? - #2 by dokken
How to generate multiple subdomains based on each cell - #4 by dokken
and dolfinx.mesh — DOLFINx 0.7.0.0 documentation

2 Likes