PETSc version 3.17.0
Fix/Edit manual page

TaoGetSolution

Returns the vector with the current TAO solution

Synopsis

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

Input Parameter

tao - the Tao context

Output Parameter

X - the current solution

Note: The returned vector will be the same object that was passed into TaoSetSolution()

Level

intermediate

Location

src/tao/interface/taosolver.c

Examples

src/tao/unconstrained/tutorials/minsurf2.c.html
src/tao/constrained/tutorials/tomographyADMM.c.html
src/tao/constrained/tutorials/ex1.c.html
src/tao/pde_constrained/tutorials/elliptic.c.html
src/tao/pde_constrained/tutorials/parabolic.c.html
src/tao/pde_constrained/tutorials/hyperbolic.c.html

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