TaoAppGetGessianMat

Get the vector with the gradient in the current application.

Synopsis

#include "tao.h"  
int TaoAppGetHessianMat(TAO_SOLVER tao, Mat *H, Mat *Hpre)

Input Parameters

tao -the solver

Output Parameter

H -the hessian matrix
Hpre -the hessian preconditioner

Note

These matrices should not be destroyed.

Keywords

Application, hessian

See Also

TaoAppGetSolutionVec(), TaoAppGetGradientVec()

Level:intermediate
Location:src/petsctao/application/taoapp/taoapp_util.c
TAO Solver Index
Table of Contents