MatGetSeqNonzeroStructure#

Extracts the nonzero structure from a matrix and stores it, in its entirety, on each process

Synopsis#

#include "petscmat.h" 
PetscErrorCode MatGetSeqNonzeroStructure(Mat mat, Mat *matstruct)

Collective

Input Parameter#

  • mat - the matrix

Output Parameter#

  • matstruct - the sequential matrix with the nonzero structure of mat

See Also#

Matrices, Mat, MatDestroySeqNonzeroStructure(), MatCreateSubMatrices(), MatDestroyMatrices()

Level#

developer

Location#

src/mat/interface/matrix.c

Implementations#

MatGetSeqNonzeroStructure_MPIAIJ() in src/mat/impls/aij/mpi/mpiaij.c
MatGetSeqNonzeroStructure_MPIBAIJ() in src/mat/impls/baij/mpi/mpibaij.c


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