Hi everyone,
I am finding a bit hard to iterate over every element of my mesh in FEniCSx. I understand how to do it legacy FEniCS where msh
is my domain:
midpoint = [cell.midpoint().array()[:] for cell in cells(msh)]
But I do struggle with the transaltion into FEniCSx, could someone help about that?
Thanks in advance