petsc-3.14.6 2021-03-30
MatISGetLocalMat
Gets the local matrix stored inside a MATIS matrix.
Synopsis
#include "petscmat.h"
PetscErrorCode MatISGetLocalMat(Mat mat,Mat *local)
Input Parameter
Output Parameter
Notes
This can be called if you have precomputed the nonzero structure of the
matrix and want to provide it to the inner matrix object to improve the performance
of the MatSetValues() operation.
Call MatISRestoreLocalMat() when finished with the local matrix.
See Also
MATIS
Level
advanced
Location
src/mat/impls/is/matis.c
Examples
src/ksp/ksp/tutorials/ex59.c.html
src/ksp/ksp/tutorials/ex71.c.html
Implementations
MatISGetLocalMat_IS in src/mat/impls/is/matis.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages