PCSetReusePreconditioner

reuse the current preconditioner even if the operator in the preconditioner has changed.

Synopsis

#include "petscksp.h" 
PetscErrorCode  PCSetReusePreconditioner(PC pc,PetscBool flag)
Logically Collective on PC

Input Parameters

pc - the preconditioner context
flag - PETSC_TRUE do not compute a new preconditioner, PETSC_FALSE do compute a new preconditioner

Level: intermediate

See Also

PCGetOperators(), MatZeroEntries(), PCGetReusePreconditioner(), KSPSetReusePreconditioner()

Location:precon.c