MatMPIAIJGetLocalMatCondensed#

Creates a MATSEQAIJ matrix from an MATMPIAIJ matrix by taking all its local rows and NON-ZERO columns

Synopsis#

#include "petscmat.h" 
PetscErrorCode MatMPIAIJGetLocalMatCondensed(Mat A, MatReuse scall, IS *row, IS *col, Mat *A_loc)

Not Collective

Input Parameters#

Output Parameter#

  • A_loc - the local sequential matrix generated

See Also#

Matrices, Mat, MATMPIAIJ, MatGetOwnershipRange(), MatMPIAIJGetLocalMat()

Level#

developer

Location#

src/mat/impls/aij/mpi/mpiaij.c


Edit on GitLab

Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages