:orphan: # PCShellGetName Gets an optional name that the user has set for a `PCSHELL` preconditioner. ## Synopsis ``` #include "petscpc.h" PetscErrorCode PCShellGetName(PC pc, const char *name[]) ``` Not Collective ## Input Parameter - ***pc -*** the preconditioner context ## Output Parameter - ***name -*** character string describing shell preconditioner (you should not free this) ## See Also `PCSHELL`, `PCShellSetName()` ## Level intermediate ## Location src/ksp/pc/impls/shell/shellpc.c ## Implementations PCShellGetName_Shell in src/ksp/pc/impls/shell/shellpc.c
--- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ksp/pc/impls/shell/shellpc.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)