petsc-3.14.5 2021-03-03
Report Typos and Errors

# TaoResidualMonitor

Views the least-squares residual at each iteration It can be turned on from the command line using the -tao_view_ls_residual option

### Synopsis

    #include "petsctao.h"
    PetscErrorCode TaoResidualMonitor(Tao tao, void *ctx)

Collective on Tao

### Input Parameters

| tao | - the Tao context
| ctx | - PetscViewer context or NULL

### Options Database Keys

| -tao_view_ls_residual

### See Also

TaoDefaultSMonitor(), TaoSetMonitor()

### Level

advanced

### Location

src/tao/interface/taosolver.c
Index of all Tao routines
Table of Contents for all manual pages
Index of all manual pages