SLESGetOptionsPrefix

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

Synopsis

#include "petscsles.h"    
int SLESGetOptionsPrefix(SLES sles,char **prefix)
Not Collective

Input Parameter

sles -the SLES context

Output Parameter

prefix -pointer to the prefix string used

Notes

This prefix is particularly useful for nested use of SLES. For example, the block Jacobi and block diagonal preconditioners use the prefix "sub" for options relating to the individual blocks.

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

Keywords

SLES, get, options, prefix, database

See Also

SLESSetOptionsPrefix()

Level:intermediate
Location:
src/sles/interface/sles.c
Index of all SLES routines
Table of Contents for all manual pages
Index of all manual pages