SLESAppendOptionsPrefix

Appends to the prefix used for searching for all SLES options in the database.

Synopsis

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

Input Parameter

sles - the SLES context
prefix - the prefix to prepend to all option names

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.

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.

Keywords

SLES, append, options, prefix, database

See Also

SLESSetOptionsPrefix(), SLESGetOptionsPrefix()

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

Examples

src/sles/examples/tutorials/ex9.c.html