petsc-3.13.6 2020-09-29
KSPReset
Resets a KSP context to the kspsetupcalled = 0 state and removes any allocated Vecs and Mats
Synopsis
#include "petscksp.h"
PetscErrorCode KSPReset(KSP ksp)
Collective on ksp
Input Parameter
ksp -iterative context obtained from KSPCreate()
See Also
KSPCreate(), KSPSetUp(), KSPSolve(), KSP
Level
beginner
Location
src/ksp/ksp/interface/itfunc.c
Examples
src/ksp/ksp/tutorials/ex75.c.html
src/ksp/ksp/tutorials/ex75f.F90.html
Implementations
KSPReset_BCGS in src/ksp/ksp/impls/bcgs/bcgs.c
KSPReset_BCGSL in src/ksp/ksp/impls/bcgsl/bcgsl.c
KSPReset_PIPELCG in src/ksp/ksp/impls/cg/pipelcg/pipelcg.c
KSPReset_Chebyshev in src/ksp/ksp/impls/cheby/cheby.c
KSPReset_FETIDP in src/ksp/ksp/impls/fetidp/fetidp.c
KSPReset_GCR in src/ksp/ksp/impls/gcr/gcr.c
KSPReset_PIPEGCR in src/ksp/ksp/impls/gcr/pipegcr/pipegcr.c
KSPReset_FGMRES in src/ksp/ksp/impls/gmres/fgmres/fgmres.c
KSPReset_GMRES in src/ksp/ksp/impls/gmres/gmres.c
KSPReset_PGMRES in src/ksp/ksp/impls/gmres/pgmres/pgmres.c
KSPReset_PIPEFGMRES in src/ksp/ksp/impls/gmres/pipefgmres/pipefgmres.c
KSPReset_HPDDM in src/ksp/ksp/impls/hpddm/hpddm.cxx
KSPReset_LCD in src/ksp/ksp/impls/lcd/lcd.c
Index of all KSP routines
Table of Contents for all manual pages
Index of all manual pages