TaoGetLinearSolver
Returns the KSP context for a TAO_SOLVER solver.
Synopsis
#include "tao_solver.h"
int TaoGetLinearSolver(TAO_SOLVER tao,TaoLinearSolver **ksp)
Not Collective, but if TAO_SOLVER object is parallel, then KSP object is parallel
Input Parameter
solver -a TAO optimization solver
Output Parameter
ksp -the KSP context
Notes
The user can then directly modify the linear solver context to modify the Krylov method, preconditioner,
and tolerances.
Keywords
Linear Solver, context
x
See Also
TaoGetKSP()
Level:developer
Location:src/interface/tao_lsolver.c
TAO Solver Index
Table of Contents