TaoSetConstraintTolerances#
Sets constraint tolerance parameters used in Tao convergence tests
Synopsis#
#include "petsctao.h"
PetscErrorCode TaoSetConstraintTolerances(Tao tao, PetscReal catol, PetscReal crtol)
Logically Collective
Input Parameters#
tao - the Tao context
catol - absolute constraint tolerance, constraint norm must be less than
catolfor used for gatol convergence criteriacrtol - relative constraint tolerance, constraint norm must be less than
crtolfor used for gatol, gttol convergence criteria
Options Database Keys#
-tao_catol
- Sets catol-tao_crtol
- Sets crtol
Notes#
Use PETSC_DEFAULT to leave any tolerance unchanged.
See Also#
TaoGetTolerances(), TaoGetConstraintTolerances(), TaoSetTolerances()
Level#
intermediate
Location#
Examples#
src/tao/constrained/tutorials/ex1.c.html
Index of all Tao routines
Table of Contents for all manual pages
Index of all manual pages