PetscObjectGetName

Gets a string name associated with a PETSc object.

Synopsis

int PetscObjectGetName(PetscObject obj,char **name)
Not Collective

Input Parameters

obj - the Petsc variable Thus must be cast with a (PetscObject), for example, PetscObjectGetName((PetscObject) mat,&name);
name - the name associated with obj

Keywords

object, get, name

See Also

PetscObjectSetName()

Location: src/sys/src/objectspgname.c
System Index
Table of Contents