petsc-3.9.4 2018-09-11
Report Typos and Errors

TaoGetIterationNumber

Gets the number of Tao iterations completed at this time.

Synopsis

#include "petsctao.h" 
PetscErrorCode  TaoGetIterationNumber(Tao tao,PetscInt *iter)
Not Collective

Input Parameter

tao -Tao context

Output Parameter

iter -iteration number

Notes

For example, during the computation of iteration 2 this would return 1.

Keywords

Tao, nonlinear, get, iteration, number,

See Also

TaoGetLinearSolveIterations(), TaoGetResidualNorm(), TaoGetObjective()

Level

intermediate

Location

src/tao/interface/taosolver.c

Examples

src/tao/unconstrained/examples/tutorials/spectraladjointassimilation.c.html

Index of all Tao routines
Table of Contents for all manual pages
Index of all manual pages