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