#include "petscmat.h" PetscErrorCode MatDiagonalSet(Mat Y,Vec D,InsertMode is)
Neighbor-wise Collective on Mat and Vec