petsc-3.5.4 2015-05-23
Report Typos and Errors

TaoSetInitialVector

Sets the initial guess for the solve

Synopsis

#include "petsctao.h" 
PetscErrorCode TaoSetInitialVector(Tao tao, Vec x0)
Logically collective on Tao

Input Parameters

tao - the Tao context
x0 - the initial guess

See Also

TaoCreate(), TaoSolve()

Level:beginner
Location:
src/tao/interface/taosolver_fg.c
Index of all Tao routines
Table of Contents for all manual pages
Index of all manual pages

Examples

src/tao/unconstrained/examples/tutorials/eptorsion1.c.html
src/tao/unconstrained/examples/tutorials/eptorsion2.c.html
src/tao/unconstrained/examples/tutorials/minsurf2.c.html
src/tao/unconstrained/examples/tutorials/rosenbrock1.c.html
src/tao/unconstrained/examples/tutorials/eptorsion2f.F.html
src/tao/unconstrained/examples/tutorials/rosenbrock1f.F.html
src/tao/constrained/examples/tutorials/maros.c.html
src/tao/constrained/examples/tutorials/toy.c.html
src/tao/constrained/examples/tutorials/toyf.F.html
src/tao/bound/examples/tutorials/plate2.c.html
src/tao/bound/examples/tutorials/jbearing2.c.html