petsc-master 2018-01-17
Report Typos and Errors

KSPSetUp

Sets up the internal data structures for the later use of an iterative solver.

Synopsis

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

Input Parameter

ksp -iterative context obtained from KSPCreate()

Keywords

KSP, setup

See Also

KSPCreate(), KSPSolve(), KSPDestroy()

Level:developer
Location:
src/ksp/ksp/interface/itfunc.c
Index of all KSP routines
Table of Contents for all manual pages
Index of all manual pages

Examples

src/ksp/pc/examples/tutorials/ex1.c.html
src/ksp/pc/examples/tutorials/ex2.c.html
src/ksp/ksp/examples/tutorials/ex1.c.html
src/ksp/ksp/examples/tutorials/ex5.c.html
src/ksp/ksp/examples/tutorials/ex7.c.html
src/ksp/ksp/examples/tutorials/ex8.c.html
src/ksp/ksp/examples/tutorials/ex9.c.html
src/ksp/ksp/examples/tutorials/ex10.c.html
src/ksp/ksp/examples/tutorials/ex27.c.html
src/ksp/ksp/examples/tutorials/ex28.c.html
src/ksp/ksp/examples/tutorials/ex29.c.html

Implementations

KSPSetUp_BCGS in src/ksp/ksp/impls/bcgs/bcgs.c
KSPSetUp_FBCGS in src/ksp/ksp/impls/bcgs/fbcgs/fbcgs.c
KSPSetUp_FBCGSR in src/ksp/ksp/impls/bcgs/fbcgsr/fbcgsr.c
KSPSetUp_PIPEBCGS in src/ksp/ksp/impls/bcgs/pipebcgs/pipebcgs.c
KSPSetUp_BCGSL in src/ksp/ksp/impls/bcgsl/bcgsl.c
KSPSetUp_BiCG in src/ksp/ksp/impls/bicg/bicg.c
KSPSetUp_CG in src/ksp/ksp/impls/cg/cg.c
KSPSetUp_CGLS in src/ksp/ksp/impls/cg/cgls.c
KSPSetUp_CGNE in src/ksp/ksp/impls/cg/cgne/cgne.c
KSPSetUp_GROPPCG in src/ksp/ksp/impls/cg/groppcg/groppcg.c
KSPSetUp_PIPECG in src/ksp/ksp/impls/cg/pipecg/pipecg.c
KSPSetUp_PIPECGRR in src/ksp/ksp/impls/cg/pipecgrr/pipecgrr.c
KSPSetUp_CGS in src/ksp/ksp/impls/cgs/cgs.c
KSPSetUp_Chebyshev in src/ksp/ksp/impls/cheby/cheby.c
KSPSetUp_CR in src/ksp/ksp/impls/cr/cr.c
KSPSetUp_PIPECR in src/ksp/ksp/impls/cr/pipecr/pipecr.c
KSPSetUp_FETIDP in src/ksp/ksp/impls/fetidp/fetidp.c
KSPSetUp_GCR in src/ksp/ksp/impls/gcr/gcr.c
KSPSetUp_PIPEGCR in src/ksp/ksp/impls/gcr/pipegcr/pipegcr.c
KSPSetUp_PGMRES in src/ksp/ksp/impls/gmres/pgmres/pgmres.c
KSPSetUp_PIPEFGMRES in src/ksp/ksp/impls/gmres/pipefgmres/pipefgmres.c
KSPSetUp_IBCGS in src/ksp/ksp/impls/ibcgs/ibcgs.c
KSPSetUp_LCD in src/ksp/ksp/impls/lcd/lcd.c
KSPSetUp_LSQR in src/ksp/ksp/impls/lsqr/lsqr.c
KSPSetUp_MINRES in src/ksp/ksp/impls/minres/minres.c
KSPSetUp_PREONLY in src/ksp/ksp/impls/preonly/preonly.c
KSPSetUp_QCG in src/ksp/ksp/impls/qcg/qcg.c
KSPSetUp_Richardson in src/ksp/ksp/impls/rich/rich.c
KSPSetUp_SYMMLQ in src/ksp/ksp/impls/symmlq/symmlq.c
KSPSetUp_TCQMR in src/ksp/ksp/impls/tcqmr/tcqmr.c
KSPSetUp_TFQMR in src/ksp/ksp/impls/tfqmr/tfqmr.c
KSPSetUp_TSIRM in src/ksp/ksp/impls/tsirm/tsirm.c