:orphan: # PCGetApplicationContext Gets the user-defined context for the linear solver. ## Synopsis ``` #include "petscpc.h" PetscErrorCode PCGetApplicationContext(PC pc, void *usrP) ``` Not Collective ## Input Parameter - ***pc -*** PC context ## Output Parameter - ***usrP -*** user context ## See Also `PCSetApplicationContext()` ## Level intermediate ## Location src/ksp/pc/interface/pcset.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ksp/pc/interface/pcset.c) [Index of all PC routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)