petsc-3.11.4 2019-09-28
Report Typos and Errors

TaoGetGradientVector

Returns the vector with the current TAO gradient

Synopsis

#include "petsctao.h" 
PetscErrorCode TaoGetGradientVector(Tao tao, Vec *G)
Not Collective

Input Parameter

tao -the Tao context

Output Parameter

G -the current solution

Level

intermediate

Location

src/tao/interface/taosolver.c

Examples

src/tao/unconstrained/examples/tutorials/spectraladjointassimilation.c.html

Index of all Tao routines
Table of Contents for all manual pages
Index of all manual pages