petsc-master 2018-10-14
Report Typos and Errors

KSPDestroy

Destroys KSP context.

Synopsis

#include "petscksp.h" 
PetscErrorCode  KSPDestroy(KSP *ksp)
Collective on KSP

Input Parameter

ksp -iterative context obtained from KSPCreate()

Keywords

destroy

See Also

KSPCreate(), KSPSetUp(), KSPSolve(), KSP

Level

beginner

Location

src/ksp/ksp/interface/itfunc.c

Examples

src/dm/impls/stag/examples/tutorials/ex1.c.html
src/dm/impls/stag/examples/tutorials/ex2.c.html
src/dm/impls/stag/examples/tutorials/ex3.c.html
src/dm/impls/stag/examples/tutorials/ex4.c.html
src/ksp/pc/examples/tutorials/ex1.c.html
src/ksp/pc/examples/tutorials/ex2.c.html
src/ksp/pc/examples/tutorials/ex3.c.html
src/ksp/ksp/examples/tutorials/ex1.c.html
src/ksp/ksp/examples/tutorials/ex2.c.html
src/ksp/ksp/examples/tutorials/ex3.c.html
src/ksp/ksp/examples/tutorials/ex5.c.html

Implementations

KSPDestroy_BCGS in src/ksp/ksp/impls/bcgs/bcgs.c
KSPDestroy_BCGSL in src/ksp/ksp/impls/bcgsl/bcgsl.c
KSPDestroy_CG in src/ksp/ksp/impls/cg/cg.c
KSPDestroy_CGLS in src/ksp/ksp/impls/cg/cgls.c
KSPDestroy_PIPELCG in src/ksp/ksp/impls/cg/pipelcg/pipelcg.c
KSPDestroy_Chebyshev in src/ksp/ksp/impls/cheby/cheby.c
KSPDestroy_FCG in src/ksp/ksp/impls/fcg/fcg.c
KSPDestroy_PIPEFCG in src/ksp/ksp/impls/fcg/pipefcg/pipefcg.c
KSPDestroy_FETIDP in src/ksp/ksp/impls/fetidp/fetidp.c
KSPDestroy_GCR in src/ksp/ksp/impls/gcr/gcr.c
KSPDestroy_PIPEGCR in src/ksp/ksp/impls/gcr/pipegcr/pipegcr.c
KSPDestroy_AGMRES in src/ksp/ksp/impls/gmres/agmres/agmres.c
KSPDestroy_DGMRES in src/ksp/ksp/impls/gmres/dgmres/dgmres.c
KSPDestroy_FGMRES in src/ksp/ksp/impls/gmres/fgmres/fgmres.c
KSPDestroy_GMRES in src/ksp/ksp/impls/gmres/gmres.c
KSPDestroy_LGMRES in src/ksp/ksp/impls/gmres/lgmres/lgmres.c
KSPDestroy_PGMRES in src/ksp/ksp/impls/gmres/pgmres/pgmres.c
KSPDestroy_PIPEFGMRES in src/ksp/ksp/impls/gmres/pipefgmres/pipefgmres.c
KSPDestroy_LCD in src/ksp/ksp/impls/lcd/lcd.c
KSPDestroy_LSQR in src/ksp/ksp/impls/lsqr/lsqr.c
KSPDestroy_QCG in src/ksp/ksp/impls/qcg/qcg.c
KSPDestroy_Richardson in src/ksp/ksp/impls/rich/rich.c
KSPDestroy_TSIRM in src/ksp/ksp/impls/tsirm/tsirm.c

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