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

TaoGetKSP

Gets the linear solver used by the optimization solver. Application writers should use TaoGetKSP if they need direct access to the PETSc KSP object.

Synopsis

#include "petsctao.h" 
PetscErrorCode TaoGetKSP(Tao tao, KSP *ksp)
Not Collective

Input Parameters

tao -the TAO solver

Output Parameters

ksp -the KSP linear solver used in the optimization solver

Level:intermediate
Location:
src/tao/interface/taosolver.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/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/jbearing2.c.html