#include "taodaapplication.h" int DAAppSetHessianRoutine(TAO_APPLICATION daapplication, int (*hess)(TAO_APPLICATION,DA,Vec,Mat,void*),void *ctx)Collective on TAO_APPLICATION
| daapplication | - the DA Application object | |
| hess | - the function pointer for the hessian evaluation routine | |
| ctx | - the hessian context |
hess(TAO_APPLICATION daapplication,DA da, Vec x,Mat H,void *ctx);
| daapplication | - the TAO_APPLICATION context | |
| da | - the Distributed Array | |
| x | - input vector | |
| H | - hessian matrix | |
| ctx | - user-defined hessian context set from DAAppSetHessianRoutine() |
Level:beginner
Location:src/petsctao/gridapplication/interface/daapp.c
TAO DA Application Index
Table of Contents