STShellSetContext — SLEPc 3.24.2 documentation

Skip to main content
`Ctrl`+`K`

# STShellSetContext

Sets the user-defined context for an `STSHELL`.

## Synopsis

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

Logically Collective

## 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

ST: Spectral Transformation, `STSHELL`, `STShellGetContext()`

## Level

advanced

## Location

src/sys/classes/st/impls/shell/shell.c

## Examples

src/eps/tutorials/ex35.c
src/eps/tutorials/ex10.c
src/eps/tutorials/ex36.c

Index of all ST routines Table of Contents for all manual pages Index of all manual pages