STGetType#
Gets the ST type name (as a string) from the ST context.
Synopsis#
#include "slepcst.h"
PetscErrorCode STGetType(ST st,STType *type)
Not Collective
Input Parameter#
st - the spectral transformation context
Output Parameter#
type - name of the spectral transformation
Note#
type should not be retained for later use as it will be an invalid pointer
if the STType of st is changed.
See Also#
ST: Spectral Transformation, STSetType(), PetscObjectTypeCompare(), PetscObjectTypeCompareAny()
Level#
intermediate
Location#
Examples#
src/sys/classes/st/tests/test1.c
src/sys/classes/st/tests/test2.c
src/sys/classes/st/tests/test3.c
src/sys/classes/st/tests/test4.c
src/sys/classes/st/tests/test7.c
src/sys/classes/st/tests/test8.c
src/sys/classes/st/tests/test9.c
Index of all ST routines Table of Contents for all manual pages Index of all manual pages