#include "tao.h" int TaoAppComputeObjectiveAndGradient(TAO_APPLICATION taoapp, Vec X, double *f, Vec G)Collective on TAO_APPLICATION
taopp | - the TAO_APPLICATION context | |
X | - the point where the objective should be evaluated |
f | - function value | |
G | - the gradient vector. |
Level:developer
Location:src/petsctao/application/petscapp/tao_app_fg.c
TAO Solver Index
Table of Contents