| 69bbac97 | 15-Feb-2014 |
Jed Brown <jed@jedbrown.org> |
PetscLayoutSetBlockSize: allow PETSC_DECIDE for use when block size has already been set
This slightly simplifies logic in some places, where otherwise we would have to MatGetBlockSize() and pass it
PetscLayoutSetBlockSize: allow PETSC_DECIDE for use when block size has already been set
This slightly simplifies logic in some places, where otherwise we would have to MatGetBlockSize() and pass it back in.
show more ...
|
| 75076a52 | 27-Jan-2014 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'knepley/fix-plex-closure-index'
* knepley/fix-plex-closure-index: DMPlex: work around -Wmaybe-uninitialized DMPlex: Small fix PetscSection: Added PetscSectionGetField() DMPlex:
Merge branch 'knepley/fix-plex-closure-index'
* knepley/fix-plex-closure-index: DMPlex: work around -Wmaybe-uninitialized DMPlex: Small fix PetscSection: Added PetscSectionGetField() DMPlex: Reorganization of closure operations - Rename DMPlexVecGetClosure_Static() —> DMPlexVecGetClosure_Depth1_Static() - Added special cases with/out fields - Removed the need for field offsets by interchanging loops over points and fields - Fixed bug where field offsets were not calculated if an array was passed in - Made all local functions static - Using SNES ex62 to verify changes, and DMPlex ex9 to time them DMPlex: Fixed object check DMPlex ex9: Now test VecClosure with index - Made functions static DMPlex: Optimization for Get/SetClosure - Only need field offsets if there is more than one field PetscSection: Change clIndices member to clPoints - Added some docs SNES ex12: Use ViewFromOptions correctly DMPlex: Use closure index in DMPlexVecSetClosure() and DMPlexMatSetClosure() - Moved depth 1 optimization to static function DMPlex: Reorgnized closure index - Now index stores points and orientations instead of offsets, so it can be used for updates as well - Moved index creation to plexindices.c - Moved optimization for depth 1 mesh to a static function DMPlex: Fixed two bugs with DMPlexCreateClosureIndex() - Must make index for entire DM chart - Need to update cloff when no fields are present
Conflicts: src/dm/impls/plex/makefile src/dm/impls/plex/plex.c
show more ...
|