STShellSetContext

Sets the context for a shell ST

Synopsis

#include "slepcst.h" 
PetscErrorCode STShellSetContext(ST st,void *ctx)
Logically Collective on ST

Input Parameters

st - the shell ST
ctx - the context

Fortran Notes: The context can only be an integer or a PetscObject; unfortunately it cannot be a Fortran array or derived type.

See Also

STShellGetContext()

Location: src/st/impls/shell/shell.c
Index of all ST routines
Table of Contents for all manual pages
Index of all manual pages

Examples

src/st/examples/tutorials/ex10.c.html