PetscErrorCode QPSSetResidualHistory(QPS qps,PetscReal a[],PetscInt na,PetscBool reset)Not Collective
qps | - iterative context obtained from QPSCreate() | |
a | - array to hold history | |
na | - size of a | |
reset | - PETSC_TRUE indicates the history counter is reset to zero for each new linear solve |
'a' is NULL then space is allocated for the history. If 'na' PETSC_DECIDE or PETSC_DEFAULT then an array of length 10000 is allocated.
Level:advanced
Location:src/qps/interface/qps.c
Index of all QPS routines
Table of Contents for all manual pages
Index of all manual pages