Hi, can you help me please

h_E = mesh.ufl_cell().max_facet_edge_length
AttributeError: ‘Cell’ object has no attribute ‘max_facet_edge_length’

See: Bitbucket
For further posts, please:

  1. make an informative title.
  2. Make a minimal working example as described in Read before posting: How do I get my question answered?