PCPatchGetConstructType#

Get the strategy currently used to construct patches for a PCPATCH preconditioner

Synopsis#

#include "petscpc.h" 
#include "petscmat.h" 
PetscErrorCode PCPatchGetConstructType(PC pc, PCPatchConstructType *ctype, PetscErrorCode (**func)(PC pc, PetscInt *npatch, IS *patches[], IS *patchIterationSet, PetscCtx ctx), PetscCtxRt ctx)

Not Collective

Input Parameter#

Output Parameters#

Calling sequence of func#

  • pc - the PCPATCH preconditioner

  • npatch - number of patches

  • patches - the IS that define each patch

  • patchIterationSet - how the patches are iterated over

  • ctx - optional application context

See Also#

KSP: Linear System Solvers, PCPATCH, PCPatchSetConstructType(), PCPatchConstructType

Level#

advanced

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