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