PCPatchSetPrecomputeElementTensors#
Set whether element tensors should be precomputed once and reused when assembling each patch matrix
Synopsis#
#include "petscpc.h"
#include "petscmat.h"
PetscErrorCode PCPatchSetPrecomputeElementTensors(PC pc, PetscBool flg)
Logically Collective
Input Parameters#
pc - the
PCPATCHpreconditionerflg -
PETSC_TRUEto precompute the element tensors,PETSC_FALSEto recompute them for each patch
See Also#
KSP: Linear System Solvers, PCPATCH, PCPatchGetPrecomputeElementTensors(), PCPatchSetSaveOperators()
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