:orphan: # MatLMVMGetRejectCount Returns the number of rejected updates. The counters are reset when `MatLMVMReset()` is called. ## Synopsis ``` #include "petscksp.h" PetscErrorCode MatLMVMGetRejectCount(Mat B, PetscInt *nrejects) ``` ## Input Parameter - ***B -*** An LMVM-type matrix ## Output Parameter - ***nrejects -*** number of rejected updates ## See Also [](ch_ksp), [LMVM Matrices](sec_matlmvm), `MATLMVM`, `MatLMVMGetRejectCount()`, `MatLMVMReset()` ## Level intermediate ## Location src/ksp/ksp/utils/lmvm/lmvmutils.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ksp/ksp/utils/lmvm/lmvmutils.c) [Index of all KSP routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)