#include "petscmat.h" PetscErrorCode MatScatterGetVecScatter(Mat mat,VecScatter *scatter)Not Collective, but not cannot use scatter if not used collectively on Mat
mat | - the matrix, should have been created with MatCreateScatter() or have type MATSCATTER |
scatter | - the scatter context |