TaoAppGetGradientVec
Get the vector with the gradient in the current application.
Synopsis
#include "tao.h"
int TaoAppGetGradientVec(TAO_SOLVER tao, Vec *G)
Input Parameters
tao -the solver
Output Parameter
G -the gradient vector
Note
This vector should not be destroyed.
Keywords
Application, gradient
See Also
TaoAppGetSolutionVec()
Level:intermediate
Location:src/petsctao/application/taoapp/taoapp_util.c
TAO Solver Index
Table of Contents