PetscContainerGetPointer#

Gets the pointer value contained in the container that was provided with PetscContainerSetPointer()

Synopsis#

#include "petscsys.h"    
PetscErrorCode PetscContainerGetPointer(PetscContainer obj, void **ptr)

Not Collective, No Fortran Support

Input Parameter#

Output Parameter#

  • ptr - the pointer value

See Also#

PetscContainerCreate(), PetscContainerDestroy(), PetscObject, PetscContainerSetPointer(), PetscObjectContainerCompose(), PetscObjectContainerQuery()

Level#

advanced

Location#

src/sys/objects/inherit.c

Examples#

src/snes/tutorials/ex7.c


Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages