petsc-3.9.4 2018-09-11
Report Typos and Errors

KSPSetReusePreconditioner

reuse the current preconditioner, do not construct a new one even if the operator changes

Synopsis

#include "petscksp.h" 
PetscErrorCode  KSPSetReusePreconditioner(KSP ksp,PetscBool flag)
Collective on KSP

Input Parameters

ksp - iterative context obtained from KSPCreate()
flag - PETSC_TRUE to reuse the current preconditioner

Keywords

setup

See Also

KSPCreate(), KSPSolve(), KSPDestroy(), PCSetReusePreconditioner(), KSP

Level

intermediate

Location

src/ksp/ksp/interface/itfunc.c

Examples

src/ksp/ksp/examples/tutorials/ex6f.F90.html

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