#include "petsctao.h" PetscErrorCode TaoSetConvergenceTest(Tao tao, PetscErrorCode (*conv)(Tao,void*), void *ctx)Logically Collective on Tao
tao | - the Tao object | |
conv | - the routine to test for convergence | |
ctx | - [optional] context for private data for the convergence routine (may be NULL) |
PetscErrorCode conv(Tao tao, void *ctx)
tao | - the Tao object | |
ctx | - [optional] convergence context |
Note: The new convergence testing routine should call TaoSetConvergedReason().
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