tao-2.1-p0 2012-07-24

TaoGetTolerances

gets the current values of tolerances

Synopsis

#include "taosolver.h" 
PetscErrorCode TaoGetTolerances(TaoSolver tao, PetscReal *fatol, PetscReal *frtol, PetscReal *gatol, PetscReal *grtol, PetscReal *gttol)
Not Collective

Input Parameters

tao -the TaoSolver context

Output Parameters

fatol - absolute convergence tolerance
frtol - relative convergence tolerance
gatol - stop if norm of gradient is less than this
grtol - stop if relative norm of gradient is less than this
gttol - stop if norm of gradient is reduced by a this factor

Note

PETSC_NULL can be used as an argument if not all tolerances values are needed

See Also

TaoSetTolerances()

Level:intermediate
Location:src/interface/taosolver.c
TAO Solver Index
Table of Contents