PCGetApplicationContext#

Gets the user-defined context for the preconditioner set with PCSetApplicationContext()

Synopsis#

#include "petscpc.h" 
PetscErrorCode PCGetApplicationContext(PC pc, void *ctx)

Not Collective

Input Parameter#

  • pc - PC context

Output Parameter#

  • ctx - user context

See Also#

KSP: Linear System Solvers, PC, PCSetApplicationContext(), KSPSetApplicationContext(), KSPGetApplicationContext()

Level#

intermediate

Location#

src/ksp/pc/interface/pcset.c


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