OptionsGetDouble
Gets the double precision value for a particular option in the database.
Synopsis
#include "petsc.h"
int OptionsGetDouble(const char pre[],const char name[],double *dvalue,PetscTruth *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 | - PETSC_TRUE if found, PETSC_FALSE if not found
|
See Also
OptionsGetInt(), OptionsHasName(),
OptionsGetString(), OptionsGetIntArray(), OptionsGetDoubleArray()
Level:beginner
Location:src/sys/src/objects/options.c
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages
Examples
src/sles/examples/tutorials/ex11.c
src/sles/examples/tutorials/ex14.c
src/sles/examples/tutorials/ex11f.F
src/snes/examples/tutorials/ex3.c
src/snes/examples/tutorials/ex4.c
src/snes/examples/tutorials/ex5.c
src/snes/examples/tutorials/ex5c.c
src/snes/examples/tutorials/ex7.c
src/snes/examples/tutorials/ex8.c
src/snes/examples/tutorials/ex5s.c
src/snes/examples/tutorials/ex9.c