PetscObjectSetName#

Sets a string name for a PETSc object.

Synopsis#

#include "petscsys.h"   
PetscErrorCode PetscObjectSetName(PetscObject obj, const char name[])

Not Collective

Input Parameters#

Note#

If this routine is not called then obj may end up being named by PetscObjectName().

See Also#

PetscObjectGetName(), PetscObjectName()

Level#

advanced

Location#

src/sys/objects/pname.c

Examples#

src/ksp/ksp/tutorials/ex3.c
src/ksp/ksp/tutorials/ex60.c
src/ksp/ksp/tutorials/ex43.c
src/ksp/ksp/tutorials/ex53.c
src/ksp/ksp/tutorials/ex73.c
src/ksp/ksp/tutorials/ex70.c
src/ksp/ksp/tutorials/ex21.c
src/ksp/ksp/tutorials/ex1.c
src/ksp/ksp/tutorials/ex51.c
src/ksp/ksp/tutorials/ex27.c


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