On Tue, Mar 13, 2012 at 6:19 PM, Daniel Christian Weflen < Daniel.Weflen at colorado.edu> wrote:
> I have a question about PetscBagCreate (the documentation for which can be > found here [1]). > > The documentation says that the size of the struct cannot be larger than a > PetscInt, which is 4 bytes. Is this referring to the entire struct, or just > a pointer to it? > > If the size of the struct itself cannot be larger than one PetscInt, what > exactly is are PetscBags supposed to do? > What this means is that you cannot have a struct bigger than 2G, since we use an integer to hold the size in bytes. Matt > -Dan > > > > > > [1] http://www.mcs.anl.gov/petsc/**petsc-current/docs/**manualpages/Sys/** > PetscBagCreate.html#**PetscBagCreate<http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Sys/PetscBagCreate.html#PetscBagCreate> > > -- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120313/edb8dee9/attachment.htm>
