PCPatchSetSaveOperators#

Set whether the per-patch sub-matrices should be built and kept, instead of being reassembled at each application

Synopsis#

#include "petscpc.h" 
#include "petscmat.h" 
PetscErrorCode PCPatchSetSaveOperators(PC pc, PetscBool flg)

Logically Collective

Input Parameters#

  • pc - the PCPATCH preconditioner

  • flg - PETSC_TRUE to store the assembled sub-matrices for each patch, PETSC_FALSE to rebuild them on demand

See Also#

KSP: Linear System Solvers, PCPATCH, PCPatchGetSaveOperators(), PCPatchSetPrecomputeElementTensors()

Level#

intermediate

Location#

src/ksp/pc/impls/patch/pcpatch.c


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