petsc-3.7.1 2016-05-15
Report Typos and Errors

PetscObjectGetClassId

Gets the classid for any PetscObject

Synopsis

#include "petscsys.h"    
PetscErrorCode  PetscObjectGetClassId(PetscObject obj,PetscClassId *classid)
Not Collective Many br

Input Parameter

obj -any PETSc object, for example a Vec, Mat or KSP. Many brThus must be cast with a (PetscObject), for example, Many brPetscObjectGetClassId((PetscObject)mat,&classid); Many br

Output Parameter

classid -the classid Many br

Many br

Level:developer
Location:
src/sys/objects/gcookie.c
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages