PETSc version 3.15.4
Flushes all of the accumulated updates out of the LMVM approximation. In practice, this will not actually destroy the data associated with the updates. It simply resets counters, which leads to existing data being overwritten, and MatSolve() being applied as if there are no updates. A boolean flag is available to force destruction of the update vectors.
PetscErrorCode MatLMVMReset(Mat B, PetscBool destructive)
If the user has provided another LMVM matrix as J0, the J0
matrix is also reset in this function.
|B ||- An LMVM-type matrix
|destructive ||- flag for enabling destruction of data structures
Index of all KSP routines
Table of Contents for all manual pages
Index of all manual pages