Mesh Indices mapping with the DG1 dofs

I would suggest reading through this first: Parallel Computations with Dolfinx using MPI — MPI tutorial then try to refine your question a bit, as I do not have time to repeat all the various posts I have on the forum about this, including: What's the best way to assemble a form? - #3 by dokken, DofMap and ghost values - #3 by dokken and many others