int MatGetSubMatrix(Mat mat,IS isrow,IS iscol,int csize,MatGetSubMatrixCall cll,Mat *newmat)Collective on Mat
| mat | - the original matrix |
| isrow | - rows this processor should obtain |
| iscol | - columns for all processors you wish kept |
| csize | - number of columns "local" to this processor (does nothing for sequential matrices). This should match the result from VecGetLocalSize() if you plan to use the matrix in a A*x |
| cll | - either MAT_INITIAL_MATRIX or MAT_REUSE_MATRIX |
Location: src/mat/interface/matrix.c
Matrix Index
Table of Contents