PetscBTCopy — PETSc 3.25.4 documentation

Skip to main content
`Ctrl`+`K`

# PetscBTCopy

Copy the contents of one `PetscBT` (bit array) into another

## Synopsis

    static inline PetscErrorCode PetscBTCopy(PetscBT dest, PetscCount m, PetscBT source)

Not Collective; No Fortran Support

## Input Parameters

- dest - the destination `PetscBT`, which must already be allocated to hold at least `m` bits

- m - the number of bits to copy

- source - the source `PetscBT` providing the bits

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