PETSc version 3.17.4
Fix/Edit manual page

# KSPGetOptionsPrefix

Gets the prefix used for searching for all KSP options in the database.

### Synopsis

    #include "petscksp.h"
    PetscErrorCode  KSPGetOptionsPrefix(KSP ksp,const char *prefix[])

Not Collective

### Input Parameters

| ksp | - the Krylov context

### Output Parameters

| prefix | - pointer to the prefix string used is returned

### Notes

On the fortran side, the user should pass in a string 'prefix' of sufficient length to hold the prefix.

### See Also

KSPSetOptionsPrefix(), KSPAppendOptionsPrefix()

### Level

advanced

### Location

src/ksp/ksp/interface/itcl.c
Index of all KSP routines
Table of Contents for all manual pages
Index of all manual pages