OptionsSetValue

Sets an option name-value pair in the options database, overriding whatever is already present.

Synopsis

int OptionsSetValue(char *name,char *value)
Not collective, but setting values on certain processors could cause problemsfor parallel objects looking for options.

Input Parameters

name -name of option, this SHOULD have the - prepended
value -the option value (not used for all options)

Note

Only some options have values associated with them, such as-ksp_rtol tol. Other options stand alone, such as -ksp_monitor.

Keywords

options, database, set, value

See Also

OptionsCreate_Private()

Location: src/sys/src/objectsoptions.c
System Index
Table of Contents