#include "petscsys.h" PetscErrorCode PetscOptionsBool(const char opt[],const char text[],const char man[],PetscBool deflt,PetscBool *flg,PetscBool *set)Logically Collective on the communicator passed in PetscOptionsBegin()
opt | - option name | |
text | - short string that describes the option | |
man | - manual page with additional information on option | |
deflt | - the default value, if the user does not set a value then this value is returned in flg |
Notes: 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