PetscErrorCode PetscShellGetComponent(PetscShell shell, const char key[], PetscShell *component, PetscBool *found)Logically collective on comm.
shell | - - PetscShell object being queried | |
key | - - a character string designating the key of the component being sought |
component | - - the extracted component PetscShell object (or PETSC_NULL) | |
found | - - PetscBool flag indicating whether a component with the given key has been found (or PETSC_NULL) |
Notes: component can be PETSC_NULL, in which case only found is returned (if it is itself not PETSC_NULL). This is useful for quering for the presence of the given component, without extracting it.
.
Level:beginner
Location:src/sys/shell/interface/sysshell.c
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages