Output of PetscSectionView is often confusing
I find the output of PetscSectionView for DMPLEX to be confusing. It seems to order the interior unknowns first, then faces, then edges then vertices but that information about the meaning of the "points/entities" is missing from the output and hence problematic; it can only be understood in the context of exactly where the section came from. (Also different for local and global section?)
Could the section object be augmented with something (even a simple string) that provides some information about the meaning of the section that can be printed automatically when the section is viewed. For example
Section is local from DMPLEX in 3 dimensions; the dof are ordered 10 interior, 20 faces, 30 edges, 21 vertices
This optional string could be provided with something like PetscSectionSetOrigins(PetscSection, const char *);
Or is there a better solution?