#include "petscsys.h" PetscErrorCode PetscOptionsGetScalar(const char pre[],const char name[],PetscScalar *dvalue,PetscBool *set)Not Collective
pre | - string to prepend to each name or PETSC_NULL | |
name | - the option one is seeking |
dvalue | - the double value to return | |
set | - PETSC_TRUE if found, else PETSC_FALSE |
Note: if the option is given but no value is provided then set is given the value PETSC_FALSE
  PetscOptionsGetScalar(const char b[],PetscScalar i[],PetscBool *f) | -> | PetscOptionsGetScalar(PETSC_NULL,b,i,f) |
Level:beginner
Location:src/sys/objects/options.c
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages