Hello,
I found that it is possible to access the degrees of freedom related to a given cell using:
V = FunctionSpace(mesh, 'DG', 1)
subdomains = MeshFunction('size_t', mesh, 2)
for cell_no in range(len(subdomains.array())):
dofs = V.dofmap().cell_dofs(cell_no)
print dofs
But I could not figure out how to find the cell associated to a degree of freedom.
Does anybody know how to do that?
Thanks a lot!
Vincent