MatStateCompare#

Compares two matrix state snapshots

Synopsis#

#include "petscmat.h" 
PetscErrorCode MatStateCompare(MatState state1, MatState state2, PetscBool *same)

Not Collective, No Fortran Support

Input Parameters#

  • state1 - the first matrix state

  • state2 - the second matrix state

Output Parameter#

  • same - PETSC_TRUE if the matrix identity, object state, and nonzero state are the same, PETSC_FALSE otherwise

See Also#

Matrices, Mat, MatState, MatGetState(), MatStateCompareUpdate(), MatStateInvalidate()

Level#

developer

Location#

src/mat/interface/matrix.c


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