# Monitor2

Collective on TAO_SOLVER

## Synopsis

    #include "tao_solver.h"
    int TaoApplication::Monitor2(TaoVec *xx, TaoVec *gg, TaoVec *ff, TaoTruth *term)

## Input Parameters

xx -the current solution
gl -the gradient of the Lagrangian function
dx -the step direction

## Output Parameters

*term -TAO_TRUE if the solver should stop iterating and TAO_FALSE if the solver should continue;

## See Also

TaoSetPetscGradient(),

## Keywords

application, context

Level:intermediate
Location:src/appobject/interface/taoappobject.c
TAO Solver Index
Table of Contents