#include "petscsys.h" PetscErrorCode PetscOptionsEnumArray_Private(PetscOptionItems *PetscOptionsObject,const char opt[],const char text[],const char man[],const char *const *list,PetscEnum value[],PetscInt *n,PetscBool *set)Logically Collective on the communicator passed in PetscOptionsBegin()
opt | - the option one is seeking | |
text | - short string describing option | |
man | - manual page for option | |
n | - maximum number of values |
value | - location to copy values | |
n | - actual number of values found | |
set | - PETSC_TRUE if found, else PETSC_FALSE |
There must be no intervening spaces between the values.
Must be between a PetscOptionsBegin() and a PetscOptionsEnd()
Level:beginner
Location:src/sys/objects/aoptions.c
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages