PetscSegBufferCreate#
create a segmented buffer
Synopsis#
PetscErrorCode PetscSegBufferCreate(size_t unitbytes, size_t expected, PetscSegBuffer *seg)
Not Collective
Input Parameters#
unitbytes - number of bytes that each entry will contain
expected - expected/typical number of entries
Output Parameter#
seg -
PetscSegBuffer
object
See Also#
PetscSegBufferGet()
, PetscSegBufferExtractAlloc()
, PetscSegBufferExtractTo()
, PetscSegBufferExtractInPlace()
, PetscSegBufferDestroy()
,
PetscSegBuffer
Level#
developer
Location#
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages