#include "petsctao.h" PetscErrorCode TaoSetTolerances(Tao tao, PetscReal gatol, PetscReal grtol, PetscReal gttol)Logically collective on Tao
tao | - the Tao context | |
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 this factor |
-tao_gatol <gatol> | - Sets gatol | |
-tao_grtol <grtol> | - Sets grtol | |
-tao_gttol <gttol> | - Sets gttol |
||g(X)|| <= gatol
||g(X)|| / |f(X)| <= grtol
||g(X)|| / ||g(X0)|| <= gttol
Level:beginner
Location:src/tao/interface/taosolver.c
Index of all Tao routines
Table of Contents for all manual pages
Index of all manual pages