petsc-3.9.4 2018-09-11
MatMPIAIJGetLocalMat
Creates a SeqAIJ from a MATMPIAIJ matrix by taking all its local rows and putting them into a sequential matrix with mlocal rows and n columns. Where mlocal is the row count obtained with MatGetLocalSize() and n is the global column count obtained with MatGetSize()
Synopsis
#include "petscmat.h"
PetscErrorCode MatMPIAIJGetLocalMat(Mat A,MatReuse scall,Mat *A_loc)
Not Collective
Input Parameters