:orphan: # PCShellSetName Sets an optional name to associate with a `PCSHELL` preconditioner. ## Synopsis ``` #include "petscpc.h" PetscErrorCode PCShellSetName(PC pc, const char name[]) ``` Not Collective ## Input Parameters - ***pc -*** the preconditioner context - ***name -*** character string describing shell preconditioner ## See Also `PCSHELL`, `PCShellGetName()` ## Level intermediate ## Location src/ksp/pc/impls/shell/shellpc.c ## Examples src/ksp/ksp/tutorials/ex15.c
src/ksp/ksp/tutorials/ex60.c
## Implementations PCShellSetName_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)