#include "petscsys.h" PetscErrorCode PetscObjectGetClassName(PetscObject obj, const char *classname[])Not Collective
obj | - any PETSc object, for example a Vec, Mat or KSP. Thus must be cast with a (PetscObject), for example, PetscObjectGetClassName((PetscObject)mat,&classname); |
classname | - the class name |