MeshEntityIterator over empty Mesh

Issue #524 new
Chris Richardson created an issue

Sometimes, especially in parallel, an empty Mesh may occur. Ideally, it should be possible to iterate over these empty meshes without crashing.

For a really simple python example:

mesh = Mesh()
for v in vertices(mesh):
    print v.index()

Comments (5)

  1. Log in to comment