# TaoAppCounters

Count the number of function, gradient, and Hessian evaluations, and the number of linear solves.

## Synopsis

    #include "tao.h"
    int TaoAppCounters(TAO_APPLICATION taoapp,int stats[4])

Collective on TAO_APPLICATION

## Input Parameters

taopp -the TAO_APPLICATION context

## Output Parameters

stat[4] ,the number of function, gradient, and Hessian evaluations. And the number of linear solves.

## Keywords

TAO_APPLICATION, objective

## See Also

TaoAppComputeHessian

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