slepc-3.18.0 2022-10-01
Report Typos and Errors

# STSetOptionsPrefix

Sets the prefix used for searching for all ST options in the database.

### Synopsis

    #include "slepcst.h"
    PetscErrorCode STSetOptionsPrefix(ST st,const char *prefix)

Logically Collective on st

### Input Parameters

| st | - the spectral transformation context
| prefix | - the prefix string to prepend to all ST option requests

### Notes

A hyphen (-) must NOT be given at the beginning of the prefix name. The first character of all runtime options is AUTOMATICALLY the hyphen.

### See Also

STAppendOptionsPrefix(), STGetOptionsPrefix()

### Level

advanced

### Location

src/sys/classes/st/interface/stfunc.c
Index of all ST routines
Table of Contents for all manual pages
Index of all manual pages