#include "taoapp.h" #include "src/tao_impl.h" #include "src/petsctao/include/taopetsc.h" int TaoAppDefaultComputeHessian(TAO_APPLICATION taoapp,Vec V,Mat *H,Mat *B, MatStructure *flag,void *ctx)Collective on TAO_APPLICATION
taoapp | - the TAO_APPLICATION context | |
V | - compute Hessian at this point | |
ctx | - the TAO_APPLICATION structure, cast to (void*) |
H | - Hessian matrix (not altered in this routine) | |
B | - newly computed Hessian matrix to use with preconditioner (generally the same as H) | |
flag | - flag indicating whether the matrix sparsity structure has changed |
-tao_fd | - Activates TaoAppDefaultComputeHessian() | |
-tao_view_hessian | - view the hessian after each evaluation using PETSC_VIEWER_STDOUT_WORLD |
Level:intermediate
Location:src/petsctao/application/petscapp/fdiff.c
TAO Solver Index
Table of Contents