MatGetLocalSize

Returns the number of rows and columns in a matrix stored locally. This information may be implementation dependent, so use with care.

Synopsis

#include "petscmat.h" 
int MatGetLocalSize(Mat mat,int *m,int* n)
Not Collective

Input Parameters

mat -the matrix

Output Parameters

m - the number of local rows
n - the number of local columns

See Also

MatGetSize()

Level:beginner
Location:
src/mat/interface/matrix.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages

Examples

src/sles/examples/tutorials/ex10.c.html
src/sles/examples/tutorials/ex27.c.html