PCSetApplicationContext#

Sets the optional user-defined context for the preconditioner

Synopsis#

#include "petscpc.h" 
PetscErrorCode PCSetApplicationContext(PC pc, void *usrP)

Logically Collective

Input Parameters#

  • pc - the PC context

  • usrP - optional user context

See Also#

KSP: Linear System Solvers, PC, PCGetApplicationContext(), KSPSetApplicationContext(), KSPGetApplicationContext(), PetscObjectCompose()

Level#

advanced

Location#

src/ksp/pc/interface/pcset.c


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