QPSGetResidualHistory

Gets the array used to hold the residual history and the number of residuals it contains.

Synopsis

PetscErrorCode  QPSGetResidualHistory(QPS qps,PetscReal *a[],PetscInt *na)
Not Collective

Input Parameter

qps -iterative context obtained from QPSCreate()

Output Parameters

a - pointer to array to hold history (or NULL)
na - number of used entries in a (or NULL)

Notes

Can only be called after a QPSSetResidualHistory() otherwise a and na are set to zero

Keywords

QPS, get, residual, history, norm

See Also

QPSGetResidualHistory()

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