#include "petscsys.h" PetscErrorCode PetscOptionsGetBoolArray(PetscOptions options,const char pre[],const char name[],PetscBool 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 integer values to return | |
nmax | - actual number of values retreived | |
set | - PETSC_TRUE if found, else PETSC_FALSE |