OptionsGetInt

Gets the integer value for a particular option in the database.

Synopsis

int OptionsGetInt(char*pre,char *name,int *ivalue,int *flg)
Not Collective

Input Parameters

name - the option one is seeking
pre - the string to prepend to the name or PETSC_NULL

Output Parameter

ivalue - the integer value to return
flg - 1 if found, else 0

Keywords

options, database, get, int

See Also

OptionsGetDouble(), OptionsHasName(), OptionsGetString(),
OptionsGetIntArray(), OptionsGetDoubleArray()

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