| d090c6a4 | 07-Oct-2013 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'knepley/fix-plex-preallocation'
* knepley/fix-plex-preallocation: PetscSF: Fixed PetscSFCreateEmbeddedSF() - We were using sf->nleaves for the leaf buffer, which is completely wrong.
Merge branch 'knepley/fix-plex-preallocation'
* knepley/fix-plex-preallocation: PetscSF: Fixed PetscSFCreateEmbeddedSF() - We were using sf->nleaves for the leaf buffer, which is completely wrong. We have to use the largest thing in sf->mine[] DMPlex: Fix completely broken code in PetscSFCreateRemoteOffsets() - Non-broken example was in PetscSFDistributeSection() DMPlex: Fix leaks in preallocation debugging DMPlex: Put in guard for preallocation sections which are smaller than the SF
show more ...
|
| e5c84f05 | 25-Sep-2013 |
Jed Brown <jedbrown@mcs.anl.gov> |
doc: restore functions in PETSc zero their arguments
This is done to prevent accidental misuse. In general, one can pass NULL for the pointer argument to keep the pointer around for longer, but use
doc: restore functions in PETSc zero their arguments
This is done to prevent accidental misuse. In general, one can pass NULL for the pointer argument to keep the pointer around for longer, but use of arrays after restoration is invalid.
Suggested-by: Wolfgang Bangerth <bangerth@math.tamu.edu>
show more ...
|