Actual source code: mpiaijpc.c

petsc-3.7.3 2016-08-01
Report Typos and Errors
  2: #include <../src/mat/impls/aij/mpi/mpiaij.h>

  6: PetscErrorCode  MatGetDiagonalBlock_MPIAIJ(Mat A,Mat *a)
  7: {
  9:   *a = ((Mat_MPIAIJ*)A->data)->A;
 10:   return(0);
 11: }