PCGAMGSetReuseInterpolation#

Reuse prolongation when rebuilding a PCGAMG algebraic multigrid preconditioner

Synopsis#

#include "petscpc.h" 
#include "petscksp.h" 
PetscErrorCode PCGAMGSetReuseInterpolation(PC pc, PetscBool n)

Collective

Input Parameters#

Options Database Key#

  • -pc_gamg_reuse_interpolation <true,false> - reuse the previous interpolation

Note#

May negatively affect the convergence rate of the method on new matrices if the matrix entries change a great deal, but allows rebuilding the preconditioner quicker.

See Also#

PCGAMG

Level#

intermediate

Location#

src/ksp/pc/impls/gamg/gamg.c

Implementations#

PCGAMGSetReuseInterpolation_GAMG in src/ksp/pc/impls/gamg/gamg.c


Edit on GitLab

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