PetscObjectGetClassName#

Gets the class name for any PetscObject

Synopsis#

#include "petscsys.h"    
PetscErrorCode PetscObjectGetClassName(PetscObject obj, const char *classname[])

Not Collective

Input Parameter#

Output Parameter#

  • classname - the class name, for example “Vec”

See Also#

PetscObject, PetscClassId, PetscObjectGetType(), PetscObjectGetClassId()

Level#

developer

Location#

src/sys/objects/gcookie.c

Examples#

src/sys/tutorials/ex6.c
src/mat/tutorials/ex7.c


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