KSPPIPEGCRSetModifyPC#

Sets the routine used by KSPPIPEGCR to modify the preconditioner at each iteration

Synopsis#

#include "petscksp.h"  
PetscErrorCode KSPPIPEGCRSetModifyPC(KSP ksp, KSPFlexibleModifyPCFn *function, void *ctx, PetscCtxDestroyFn *destroy)

Logically Collective

Input Parameters#

  • ksp - iterative context obtained from KSPCreate()

  • function - user defined function to modify the preconditioner, see KSPFlexibleModifyPCFn

  • ctx - user provided context for the modify preconditioner function

  • destroy - the function to use to destroy the user provided application context.

See Also#

KSP: Linear System Solvers, KSPFlexibleSetModifyPC(), KSPFlexibleModifyPCFn, KSPPIPEGCR

Level#

intermediate

Location#

src/ksp/ksp/impls/gcr/pipegcr/pipegcr.c

Implementations#

KSPPIPEGCRSetModifyPC_PIPEGCR() in src/ksp/ksp/impls/gcr/pipegcr/pipegcr.c


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