OptionsGetScalar
Gets the scalar value for a particular option in the database. At the moment can get only a Scalar with 0 imaginary part.
Synopsis
int OptionsGetScalar(char* pre,char *name,Scalar *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, else 0
|
Keywords
options, database, get, double
See Also
OptionsGetInt(), OptionsHasName(),
OptionsGetString(), OptionsGetIntArray(), OptionsGetDoubleArray()
Location: src/sys/src/objectsoptions.c
System Index
Table of Contents