MatNestGetSubMat#
Returns a single, sub-matrix from a MATNEST
Synopsis#
#include "petscmat.h"   
PetscErrorCode MatNestGetSubMat(Mat A, PetscInt idxm, PetscInt jdxm, Mat *sub)
Not Collective
Input Parameters#
- A - - MATNESTmatrix
- idxm - index of the matrix within the nest matrix 
- jdxm - index of the matrix within the nest matrix 
Output Parameter#
- sub - matrix at index - idxm,- jdxmwithin the nest matrix
See Also#
Matrices, Mat, MATNEST, MatNestGetSize(), MatNestGetSubMats(), MatCreateNest(), MatNestSetSubMat(),
MatNestGetLocalISs(), MatNestGetISs()
Level#
developer
Location#
Implementations#
MatNestGetSubMat_Nest() in src/mat/impls/nest/matnest.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages