TaoAppSetHessianMat

Sets the matrix representing the Hessian and the matrix used to precondition it.

Synopsis

#include "tao.h"  
int TaoAppSetHessianMat(TAO_APPLICATION taoapp, Mat H, Mat HP )
Collective on TAO_APPLICATION

Input Parameters

taoapp - the TAO_APPLICATION context
H - the matrix used for the Hessian
HP - the matrix used to precondition the Hessian matrix.

Note

Usually H and HP are the same matrix

See Also

TaoAppSetHessianRoutine()

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

Examples

src/bound/examples/tutorials/plate2.c.html
src/bound/examples/tutorials/jbearing2.c.html
src/bound/examples/tutorials/plate2f.F.html
src/unconstrained/examples/tutorials/eptorsion1.c.html
src/unconstrained/examples/tutorials/eptorsion2.c.html
src/unconstrained/examples/tutorials/minsurf2.c.html
src/unconstrained/examples/tutorials/rosenbrock1.c.html
src/unconstrained/examples/tutorials/eptorsion2f.F.html
src/unconstrained/examples/tutorials/rosenbrock1f.F.html