Hello, in PETSc, my understanding is that distributed data is a local number, that is, the number reordered in each CPU, so I think that in the above code
fespace Vh(Th, Pk);
Vh u;
u = 0:Vh. ndof - 1;
plotD(Th, u, cmm = “Local numbering”)
Where the overall number is the original number of the geometric entity defined in the grid file, and the local number is the number reordered in each CPU,
As for local number and global number, I think they are opposite. Shouldn’t the former be a global number? After grid division, it should be a global number, and the latter should not be a local number?