# PCShellSetName

Sets an optional name to associate with a shell preconditioner.

### Synopsis

    #include "petscpc.h"
    PetscErrorCode PETSCKSP_DLLEXPORT PCShellSetName(PC pc,const char name[])

Not Collective

### Input Parameters

| pc | - the preconditioner context
| name | - character string describing shell preconditioner

### Keywords

PC, shell, set, name, user-provided

### See Also

PCShellGetName()

Level:developer
Location:src/ksp/pc/impls/shell/shellpc.c
Index of all PC routines
Table of Contents for all manual pages
Index of all manual pages

### Examples

src/ksp/examples/tutorials/ex15.c.html