#include "petscmat.h" #if defined(PETSC_USE_CTABLE) PetscErrorCode MatGetCommunicationStructs(Mat A, Vec *lvec, PetscTable *colmap, VecScatter *multScatter) #else PetscErrorCode MatGetCommunicationStructs(Mat A, Vec *lvec, PetscInt *colmap[], VecScatter *multScatter) #endifNot Collective
A | - The matrix in mpiaij format |
lvec | - The local vector holding off-process values from the argument to a matrix-vector product | |
colmap | - A map from global column index to local index into lvec | |
multScatter | - A scatter from the argument of a matrix-vector product to lvec |