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#
pc - the
PCPATCHpreconditioner
Output Parameters#
ctype - the
PCPatchConstructTypefunc - the callback that builds the patches when
ctypeisPC_PATCH_USERorPC_PATCH_PYTHON; otherwise unchangedctx - the application context associated with
func; otherwise unchanged
Calling sequence of func#
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