#include "petscsys.h" PetscErrorCode PetscOptionsGetScalar(PetscOptions options,const char pre[],const char name[],PetscScalar *dvalue,PetscBool *set)Not Collective
options | - options database, use NULL for default global database | |
pre | - string to prepend to each name or NULL | |
name | - the option one is seeking |
dvalue | - the double value to return | |
set | - PETSC_TRUE if found, else PETSC_FALSE |