SLESSetOptionsPrefix

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

Synopsis

int SLESSetOptionsPrefix(SLES sles,char *prefix)

Input Parameter

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

Collective on SLES

Notes

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

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

Keywords

SLES, set, options, prefix, database

See Also

SLESAppendOptionsPrefix(), SLESGetOptionsPrefix()

Location: src/sles/interface/sles.c
SLES Index
Table of Contents