petsc-3.11.4 2019-09-28
Report Typos and Errors

MatMissingDiagonal

Determine if sparse matrix is missing a diagonal entry (or block entry for BAIJ matrices)

Synopsis

#include "petscmat.h" 
PetscErrorCode MatMissingDiagonal(Mat mat,PetscBool *missing,PetscInt *dd)
Not Collective

Input Parameter

mat -the matrix

Output Parameters

missing - is any diagonal missing
dd - first diagonal entry that is missing (optional) on this process

See Also

MatRealPart()

Level

advanced

Location

src/mat/interface/matrix.c

Implementations

MatMissingDiagonal_MPIAIJ in src/mat/impls/aij/mpi/mpiaij.c
MatMissingDiagonal_SeqAIJ in src/mat/impls/aij/seq/aij.c
MatMissingDiagonal_MPIBAIJ in src/mat/impls/baij/mpi/mpibaij.c
MatMissingDiagonal_SeqBAIJ in src/mat/impls/baij/seq/baij.c
MatMissingDiagonal_MPIDense in src/mat/impls/dense/mpi/mpidense.c
MatMissingDiagonal_SeqDense in src/mat/impls/dense/seq/dense.c
MatMissingDiagonal_Elemental in src/mat/impls/elemental/matelem.cxx
MatMissingDiagonal_HYPRE in src/mat/impls/hypre/mhypre.c
MatMissingDiagonal_IS in src/mat/impls/is/matis.c
MatMissingDiagonal_MFFD in src/mat/impls/mffd/mffd.c
MatMissingDiagonal_MPISBAIJ in src/mat/impls/sbaij/mpi/mpisbaij.c
MatMissingDiagonal_SeqSBAIJ in src/mat/impls/sbaij/seq/sbaij.c
MatMissingDiagonal_MPISELL in src/mat/impls/sell/mpi/mpisell.c
MatMissingDiagonal_SeqSELL in src/mat/impls/sell/seq/sell.c
MatMissingDiagonal_Shell in src/mat/impls/shell/shell.c

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