TaoLinearSolverGetKSP
If the TaoLinearSolver is of the TaoLinearSolverPetsc type, it gets the underlying PETSc KSP
Synopsis
int TaoLinearSolverGetKSP( TaoLinearSolver *TS, KSP * S)
Input Parameter
| TS | - the TaoLinearSolver
|
| S | - the address of KSP
|
Output Parameter
S -address of the underlying PETSc KSP object
Note
This routine does not create a KSP. It sets a pointer
to the location of an existing KSP.
See Also
TaoVecGetPetscVec(), TaoMatGetPetscMat(), TaoGetKSP()
Level:advanced
Location:src/petsctao/linearsolver/taolinearsolver_petsc.c
TAO Solver Index
Table of Contents