#include "petscsys.h" PetscErrorCode PetscOptionsGetRealArray(PetscOptions options,const char pre[],const char name[],PetscReal dvalue[],PetscInt *nmax,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 | |
nmax | - maximum number of values to retrieve |
dvalue | - the double values to return | |
nmax | - actual number of values retreived | |
set | - PETSC_TRUE if found, else PETSC_FALSE |