OptionsHasName
Determines whether a certain option is given in the database.
Synopsis
#include "petsc.h"
int OptionsHasName(const char pre[],const char name[],PetscTruth *flg)
Not Collective
Input Parameters
| name | - the option one is seeking
|
| pre | - string to prepend to the name or PETSC_NULL
|
Output Parameters
flg -PETSC_TRUE if found else PETSC_FALSE.
Keywords
options, database, has, name
See Also
OptionsGetInt(), OptionsGetDouble(),
OptionsGetString(), OptionsGetIntArray(), OptionsGetDoubleArray()
Level:beginner
Location:src/sys/src/objects/options.c
System Index
Table of Contents