slepc-3.7.3 2016-09-29
Report Typos and Errors

# 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

To use this from Fortran you must write a Fortran interface definition for this function that tells Fortran the Fortran derived data type that you are passing in as the ctx argument.

### See Also

STShellGetContext()

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

### Examples

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