MatGetOwnershipRangeColumn#
Returns the range of matrix columns associated with rows of a vector one multiplies this matrix by that are owned by this processor.
Synopsis#
#include "petscmat.h"
PetscErrorCode MatGetOwnershipRangeColumn(Mat mat, PetscInt *m, PetscInt *n)
Not Collective, unless matrix has not been allocated, then collective
Input Parameter#
mat - the matrix
Output Parameters#
m - the global index of the first local column, use
NULL
to not obtain this valuen - one more than the global index of the last local column, use
NULL
to not obtain this value
Note#
Returns the columns of the “diagonal block” for most sparse matrix formats. See Matrix Layouts for details on matrix layouts.
See Also#
Matrices, Mat
, MatGetOwnershipRange()
, MatGetOwnershipRanges()
, MatGetOwnershipRangesColumn()
, PetscLayout
Level#
developer
Location#
Examples#
src/snes/tutorials/ex48.c
src/ksp/ksp/tutorials/ex85.c
src/mat/tutorials/ex10.c
src/ksp/ksp/tutorials/ex27.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages