MatLMVMGetHistorySize#

Get the number of past iterates stored for the construction of the limited-memory quasi-Newton update

Synopsis#

#include "petscksp.h" 
PetscErrorCode MatLMVMGetHistorySize(Mat B, PetscInt *hist_size)

Not Collective

Input Parameter#

Output Parameter#

  • hist_size - number of past iterates stored

See Also#

KSP: Linear System Solvers, LMVM Matrices, MATLMVM, MatLMVMSetHistorySize(), MatLMVMGetUpdateCount()

Level#

intermediate

Location#

src/ksp/ksp/utils/lmvm/lmvmutils.c


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