#include "petscsys.h" PetscErrorCode PetscOptionsHasName(const char pre[],const char name[],PetscBool *set)Not Collective
name | - the option one is seeking | |
pre | - string to prepend to the name or PETSC_NULL |
Notes: Name cannot be simply -h
In many cases you probably want to use PetscOptionsGetBool() instead of calling this, to allowing toggling values.
  PetscOptionsHasName(const char b[],PetscBool *f) | -> | PetscOptionsHasName(PETSC_NULL,b,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