PetscBTCountSet — PETSc 3.25.4 documentation

Skip to main content
`Ctrl`+`K`

# PetscBTCountSet

Count the number of bits that are set in a `PetscBT`

## Synopsis

    static inline PetscCount PetscBTCountSet(PetscBT array, PetscCount m)

Not Collective; No Fortran Support

## Input Parameters

- array - the `PetscBT`

- m - the number of bits in `array`

## 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