petsc-3.14.6 2021-03-30
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/tutorials/spectraladjointassimilation.c.html

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