Skip to main content
Ctrl+K
PETSc 3.25.0 documentation - Home
  • Overview
  • Install
  • Tutorials
  • User-Guide
  • C/Fortran API
  • petsc4py API
  • FAQ
  • Community
  • Developers
  • Misc.
  • GitLab
  • Overview
  • Install
  • Tutorials
  • User-Guide
  • C/Fortran API
  • petsc4py API
  • FAQ
  • Community
  • Developers
  • Misc.
  • GitLab
  • PetscBoolToBool3

PetscBoolToBool3#

Convert a PetscBool to a PetscBool3

Synopsis#

#include <petscsystypes.h>
PetscBool3 PetscBoolToBool3(PetscBool var)

No Fortran Support

Note#

Evaluates to PETSC_BOOL3_TRUE if var is PETSC_TRUE, and PETSC_BOOL3_FALSE otherwise.

See Also#

PetscBool, PetscBool3, PetscBool3ToBool()

Level#

beginner

Location#

include/petscsystypes.h


Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages

On this page
  • Synopsis
  • Note
  • See Also
  • Level
  • Location
Edit on GitLab
Show Source

© Copyright 1991-2026, UChicago Argonne, LLC and the PETSc Development Team.

Created using Sphinx 7.3.7.

Built with the PyData Sphinx Theme 0.15.1.

Last updated on 2026-04-16T04:13:00-0500 (v3.25.0-55-g01829a2a572).