TaoMonitorGradient#
Views the gradient at each iteration of TaoSolve()
Synopsis#
#include "petsctao.h"
PetscErrorCode TaoMonitorGradient(Tao tao, PetscViewerAndFormat *vf)
Collective
Input Parameters#
tao - the
Taocontextvf -
PetscViewerAndFormatcontext
Options Database Keys#
-tao_monitor_gradient [viewertype][:filename][:viewerformat] - view the gradient at each iteration
-tao_monitor_gradient_interval interval - only view the gradient every
intervaliterations, and the last iteration
See Also#
TAO: Optimization Solvers, Tao, TaoMonitorDefaultShort(), TaoMonitorSet()
Level#
advanced
Location#
Index of all Tao routines
Table of Contents for all manual pages
Index of all manual pages