Find coordinates of cells in a subdomain

entities_to_geometry can give you the geometry i ndices of a cell.
Get the cells with
cells = ct.find(marker) and pass it through
to the aforementioned function. See for instance Dolfinx.cpp.mesh.entities_to_geometry problem - #2 by dokken

1 Like