OptionsGetDouble

Gets the double precision value for a particular option in the database.

Synopsis

int OptionsGetDouble(const char pre[],const char name[],double *dvalue,int *flg)
Not Collective

Input Parameters

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

Output Parameter

dvalue - the double value to return
flg - 1 if found, 0 if not found

Keywords

options, database, get, double

See Also

OptionsGetInt(), OptionsHasName(),
OptionsGetString(), OptionsGetIntArray(), OptionsGetDoubleArray()

Level:beginner
Location:src/sys/src/objects/options.c
System Index
Table of Contents