MatStateCompareUpdate#
Compares a matrix with a state snapshot, then updates the snapshot
Synopsis#
#include "petscmat.h"
PetscErrorCode MatStateCompareUpdate(Mat A, MatState *state, PetscBool *same)
Not Collective, No Fortran Support
Input Parameter#
A - the matrix
Input/Output Parameter#
state - the matrix state snapshot to compare with and update
Output Parameter#
same -
PETSC_TRUEif the matrix state matched the snapshot before it was updated,PETSC_FALSEotherwise
See Also#
Matrices, Mat, MatState, MatGetState(), MatStateCompare(), MatStateInvalidate()
Level#
developer
Location#
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages