Merge branch 'barry/2024-02-20/fix-petscviewergetsubcomm' into 'main'Document that PetscViewerGetSubViewer() is collective on the outer viewer and fix bugs.See merge request petsc/petsc!7309
Document that PetscViewerGetSubViewer() is collective on the outer viewer and fix bugs.Reported-by: Pierre Jolivet