QPSMonitorDefault

Print the value of the cost function at each iteration of an iterative solver.

Synopsis

PetscErrorCode QPSMonitorCostFunction(QPS qps,PetscInt n,PetscReal rnorm,void *dummy)
Collective on QPS

Input Parameters

qps - iterative context
n - iteration number
rnorm - unused
dummy - unused monitor context

Keywords

QPS, monitor, cost function

See Also

QPSMonitorSet(), QPSMonitorDefault()

Level

intermediate

Location

src/qps/interface/qps.c
Index of all QPS routines
Table of Contents for all manual pages
Index of all manual pages