KSPSolveTranspose#

Solves the transpose of a linear system.

Synopsis#

#include "petscksp.h" 
#include "petscmat.h" 
PetscErrorCode KSPSolveTranspose(KSP ksp, Vec b, Vec x)

Collective

Input Parameters#

  • ksp - iterative context obtained from KSPCreate()

  • b - right hand side vector

  • x - solution vector

Notes#

For complex numbers this solve the non-Hermitian transpose system.

Developer Notes#

We need to implement a KSPSolveHermitianTranspose()

See Also#

KSP: Linear System Solvers, KSPCreate(), KSPSetUp(), KSPDestroy(), KSPSetTolerances(), KSPConvergedDefault(), KSPSolve(), KSP

Level#

developer

Location#

src/ksp/ksp/interface/itfunc.c

Examples#

src/dm/impls/swarm/tutorials/ex1.c.html
src/dm/impls/swarm/tutorials/ex1f90.F90.html
src/ksp/ksp/tutorials/ex10.c.html
src/ksp/ksp/tutorials/ex53.c.html
src/ksp/ksp/tutorials/ex67.c.html
src/ksp/ksp/tutorials/ex72.c.html
src/tao/pde_constrained/tutorials/hyperbolic.c.html


Edit on GitLab

Index of all KSP routines
Table of Contents for all manual pages
Index of all manual pages