# TaoAppCheckConvergence

Check convergence of application.

## Synopsis

    #include "tao.h"
    int TaoAppCheckConvergence(TAO_APPLICATION taoapp, Vec GL, PetscTruth *flag)

Collective on TAO_APPLICATION

## Input Parameters

| taoapp | - the TAO_APPLICATION context
| GL | - the gradient of the Lagrangian function

## Output Parameters

| flag | - set to PETSC_TRUE if the TAO solver should stop.

## Keywords

TAO_APPLICATION, monitor

Level:developer
Location:src/petsctao/application/petscapp/tao_app_monitor.c
TAO Solver Index
Table of Contents