PetscBool3#
Ternary logical variable. Actually an enum in C and a 4 byte integer in Fortran.
Synopsis#
typedef enum {
PETSC_BOOL3_FALSE,
PETSC_BOOL3_TRUE,
PETSC_BOOL3_UNKNOWN = -1
} PetscBool3;
Note#
Should not be used with the if (flg) or if (!flg) syntax.
See Also#
PETSC_TRUE, PETSC_FALSE, PetscNot(), PETSC_BOOL3_TRUE, PETSC_BOOL3_FALSE, PETSC_BOOL3_UNKNOWN
Level#
beginner
Location#
Examples#
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages