PetscOptionsGetInt
Gets the integer value for a particular option in the database.
Synopsis
#include "petsc.h"
PetscErrorCode PetscOptionsGetInt(const char pre[],const char name[],PetscInt *ivalue,PetscTruth *flg)
Not Collective
Input Parameters
| pre | - the string to prepend to the name or PETSC_NULL
|
| name | - the option one is seeking
|
Output Parameter
See Also
PetscOptionsGetReal(), PetscOptionsHasName(), PetscOptionsGetString(),
PetscOptionsGetIntArray(), PetscOptionsGetRealArray(), PetscOptionsLogical()
PetscOptionsInt(), PetscOptionsString(), PetscOptionsReal(), PetscOptionsLogical(),
PetscOptionsName(), PetscOptionsBegin(), PetscOptionsEnd(), PetscOptionsHead(),
PetscOptionsStringArray(),PetscOptionsRealArray(), PetscOptionsScalar(),
PetscOptionsLogicalGroupBegin(), PetscOptionsLogicalGroup(), PetscOptionsLogicalGroupEnd(),
PetscOptionsList(), PetscOptionsEList()
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/vec/examples/tutorials/ex1.c.html
src/vec/examples/tutorials/ex1e.c.html
src/vec/examples/tutorials/ex3.c.html
src/vec/examples/tutorials/ex5.c.html
src/vec/examples/tutorials/ex6.c.html
src/vec/examples/tutorials/ex10.c.html
src/vec/examples/tutorials/ex11.c.html
src/vec/examples/tutorials/ex12.c.html
src/vec/examples/tutorials/ex16.c.html
src/vec/examples/tutorials/ex1f.F.html
src/vec/examples/tutorials/ex3f.F.html