tao-2.1-p0 2012-07-24

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 "taosolver.h" 
PetscErrorCode TaoGetKSP(TaoSolver 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/interface/taosolver.c
TAO Solver Index
Table of Contents

Examples

src/unconstrained/examples/tutorials/eptorsion1.c.html
src/unconstrained/examples/tutorials/eptorsion2.c.html
src/bound/examples/tutorials/jbearing2.c.html