PetscObjectGetType
Gets the object type of any PetscObject.
Synopsis
int PetscObjectGetType(PetscObject obj,int *type)
Not
Collective
Input Parameter
obj -any PETSc object, for example a Vec, Mat or KSP.
Thus must be cast with a (PetscObject), for example,
PetscObjectGetType((PetscObject) mat,&type);
Output Parameter
type -the object type
Keywords
object, get, type
Location: src/sys/src/objectsgtype.c
System Index
Table of Contents