petsc-3.5.2 2014-09-08
Report Typos and Errors


Provides access to the communication structures used in matrix-vector multiplication.


#include "petscmat.h" 
#if defined(PETSC_USE_CTABLE)
PetscErrorCode  MatGetCommunicationStructs(Mat A, Vec *lvec, PetscTable *colmap, VecScatter *multScatter)
PetscErrorCode  MatGetCommunicationStructs(Mat A, Vec *lvec, PetscInt *colmap[], VecScatter *multScatter)
Not Collective

Input Parameters

A -The matrix in mpiaij format

Output Parameter

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

Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages