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

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