:orphan: # TaoDefaultGMonitor Default routine for monitoring progress of `TaoSolve()` with extra detail on the globalization method. ## Synopsis ``` #include "petsctao.h" PetscErrorCode TaoDefaultGMonitor(Tao tao, void *ctx) ``` Collective ## Input Parameters - ***tao -*** the `Tao` context - ***ctx -*** `PetscViewer` context or `NULL` ## Options Database Key - ***-tao_gmonitor -*** turn on monitoring with globalization information ## Note This monitor prints the function value and gradient norm at each iteration, as well as the step size and trust radius. Note that the step size and trust radius may be the same for some algorithms. ## See Also [](ch_tao), `Tao`, `TaoDefaultSMonitor()`, `TaoSetMonitor()` ## Level advanced ## Location src/tao/interface/taosolver.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/tao/interface/taosolver.c) [Index of all Tao routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)