PCHMGSetReuseInterpolation#

Reuse the interpolation matrices in PCHMG after changing the matrices numerical values

Synopsis#

#include "petscpc.h" 
PetscErrorCode PCHMGSetReuseInterpolation(PC pc, PetscBool reuse)

Logically Collective

Input Parameters#

Options Database Key#

  • -pc_hmg_reuse_interpolation <true | false> - Whether or not to reuse the interpolations. If true, it potentially save the compute time.

See Also#

PCHMG, PCGAMG, PCHMGSetUseSubspaceCoarsening(), PCHMGSetCoarseningComponent(), PCHMGSetInnerPCType()

Level#

beginner

Location#

src/ksp/pc/impls/hmg/hmg.c

Examples#

src/ksp/ksp/tutorials/ex4.c

Implementations#

PCHMGSetReuseInterpolation_HMG in src/ksp/pc/impls/hmg/hmg.c


Edit on GitLab

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