FEniCS / ffcx

Next generation FEniCS Form Compiler for finite element forms
https://fenicsproject.org
Other
145 stars 38 forks source link

Use `num_sub_entities(...)` (new function in UFL) #571

Closed mscroggs closed 1 year ago

mscroggs commented 1 year ago

instead of ufl.cell.num_cell_entities[cell.cellname()][...].

This new function is added to UFL in https://github.com/FEniCS/ufl/pull/168

mscroggs commented 1 year ago

One of the demos is failing (which is odd as it was passing with the UFL update before today.

I've set the demo to xfail and opened https://github.com/FEniCS/ffcx/issues/579 so that I can merge this, as FFCx is currently broken without this patch