PetscObjectContainerSetPointer

Sets the pointer value contained in the container.

Synopsis

int PetscObjectContainerSetPointer(PetscObjectContainer obj,void *ptr)
Collective on PetscObjectContainer

Input Parameters

obj - the object created with PetscObjectContainerCreate()
ptr - the pointer value

See Also

PetscObjectContainerCreate(), PetscObjectContainerDestroy(),
PetscObjectContainerGetPointer()

Level:advanced
Location:src/sys/src/objects/inherit.c
System Index
Table of Contents