Allow grids without codim 1 entities in VTKWriter

The VTKWriter now correctly handles grids that do not have entities of codimension 1. It adds a capability check to ensure that the grid supports codimension 1 entities before attempting to access them. If not, an exception is thrown.

Additionally, the staticcheck.hh is updated to respect the hasEntity capability.

Since the grid utilities should be able to handle those grid types, I am marking this as a bug.

Edited by Santiago Ospina de los Ríos

Merge request reports

Loading