PetscBTDestroy — PETSc 3.25.4 documentation

Skip to main content
`Ctrl`+`K`

# PetscBTDestroy

Destroy a `PetscBT` (bit array) created with `PetscBTCreate()`, freeing its storage and setting the pointer to `NULL`

## Synopsis

    static inline PetscErrorCode PetscBTDestroy(PetscBT *array)

Not Collective; No Fortran Support

## Input Parameter

- array - pointer to the `PetscBT` to destroy; `*array` is set to `NULL` on return

## See Also

`PetscBT`, `PetscBTCreate()`, `PetscBTMemzero()`

## Level

developer

## Location

include/petscbt.h

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