petsc-3.3-p7 2013-05-11

PetscShellGetVisitor

retrieve the PetscShell object executing PetscShellVisit() on the current shell. The visitor is one of the (possibly many) PetscShell objects with which shell has been registered as a component using PetscShellRegisterComponentShell(), PetscShellRegisterComponentURL(), or PetscShellRegisterDependence()

Synopsis

#undef  __FUNCT__
#define __FUNCT__ "PetscShellGetVisitor"
PetscErrorCode PetscShellGetVisitor(PetscShell shell, PetscShell *visitor)

Not collective.

Input paramters

shell -- a PetscShell object

Output parameters

visitor -- the visitor PetscShell object

Notes: The visitor is valid only during the PetscShellVisit() and is PETSC_NULL otherwise.

See Also

PetscShellVisit(), PetscShellCall(), PetscShellRegisterComponentShell(), PetscShellRegisterDependence()

Level:intermediate
Location:
src/sys/shell/interface/sysshell.c
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages