PetscBTLookupClear — PETSc 3.25.4 documentation

Skip to main content
`Ctrl`+`K`

# PetscBTLookupClear

Check if a particular bit in a `PetscBT` is set and then clear it

## Synopsis

    static inline PetscByte PetscBTLookupClear(PetscBT array, PetscCount index)

Not Collective; No Fortran Support

## Input Parameters

- array - the `PetscBT`

- index - the bit index to check and clear

## See Also

`PetscBT`, `PetscBTCreate()`, `PetscBTMemzero()`, `PetscBTLookup()`, `PetscBTLookupSet()`

## Level

developer

## Location

include/petscbt.h

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