petsc-3.7.1 2016-05-15
Report Typos and Errors

MatMPIAIJGetLocalMat

Creates a SeqAIJ from a MPIAIJ matrix by taking all its local rows and putting them into a sequential vector 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 Many br

Input Parameters

Output Parameter

Many br

See Also

MatGetOwnerShipRange(), MatMPIAIJGetLocalMatCondensed()

Level:developer
Location:
src/mat/impls/aij/mpi/mpiaij.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages

A - the matrix Many br
scall - either MAT_INITIAL_MATRIX or MAT_REUSE_MATRIX Many br
A_loc - the local sequential matrix generated Many br