Bingo! So, DMDAGetElements gives the indices of the mesh, right ? Thank you ! -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20181119/339edae4/attachment.html>