| #
fb3f26da
|
| 04-Dec-2013 |
Jed Brown <jedbrown@mcs.anl.gov> |
Merge branch 'jed/malloc-array'
Type arguments dropped from PetscMalloc[2-7], PetscNew, and PetscNewLog, added PetscMalloc1 for allocating typed arrays, add PetscCalloc[1-7] for allocating cleared (
Merge branch 'jed/malloc-array'
Type arguments dropped from PetscMalloc[2-7], PetscNew, and PetscNewLog, added PetscMalloc1 for allocating typed arrays, add PetscCalloc[1-7] for allocating cleared (zeroed) memory.
* jed/malloc-array: Sys: Add pointer casts from (void **) in calls to PetscMalloc1() Sys: drop explicit type arguments from PetscNew() and PetscNewLog() Sys: add PetscCalloc[1-7] Sys: add PetscMalloc1 macro, array allocation without redundant types PetscMalloc[2-7]: remove type arguments, infer from pointer type SNESComputeJacobianDefaultColor: fix uninitialized variable
show more ...
|
| #
785e854f
|
| 03-Dec-2013 |
Jed Brown <jedbrown@mcs.anl.gov> |
Sys: add PetscMalloc1 macro, array allocation without redundant types
The type is inferred from the pointer return type. This patch is automated via the following script:
git grep -l 'PetscMalloc(
Sys: add PetscMalloc1 macro, array allocation without redundant types
The type is inferred from the pointer return type. This patch is automated via the following script:
git grep -l 'PetscMalloc(.*sizeof' src | xargs perl -pi -e 's@PetscMalloc\(([^,;]*[^,; ]) *\* *sizeof\([^,;()]+\),@PetscMalloc1($1,@'
This commit contains an additional bug-fix in csrperm.c, fixing pointer arity. The code was introduced in 2006, but the allocation could not have been correct at any time. This probably means that MatDuplicate_SeqAIJPERM has never been tested.
a54129beb540034ba105796c682d589e7e1111f2 Richard Tran Mills <rmills@ornl.gov>
Added MATSEQCSRPERM support for MatDuplicate() and conversion to/from MATSEQAIJ. Note that these changes are not quite debugged.
show more ...
|
| #
256ff83f
|
| 11-Sep-2013 |
Barry Smith <bsmith@mcs.anl.gov> |
Merge branch 'master' into barry/wirth-fusion-materials
Conflicts: src/ts/examples/tutorials/advection-diffusion-reaction/ex10.c
|
| #
cc85fe4d
|
| 04-Sep-2013 |
Barry Smith <bsmith@mcs.anl.gov> |
Merge branch 'barry/dmvecmattypes' into barry/saws
Needed to work with version of PETSc that did not have constant calls to VecSetFromOptions() etc
Conflicts: src/ksp/ksp/interface/ams/kspams.c s
Merge branch 'barry/dmvecmattypes' into barry/saws
Needed to work with version of PETSc that did not have constant calls to VecSetFromOptions() etc
Conflicts: src/ksp/ksp/interface/ams/kspams.c src/snes/impls/composite/snescomposite.c src/snes/impls/gs/snesgs.c src/snes/impls/nasm/nasm.c src/snes/impls/ngmres/snesngmres.c
show more ...
|
| #
8117f98b
|
| 28-Aug-2013 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/feature-dt-fem
* master: (211 commits) Mat ex170: Comments VTK: Small fix to error message (.vts to .vtu) VTK: Small fix to error message Fixed bib entries
Merge branch 'master' into knepley/feature-dt-fem
* master: (211 commits) Mat ex170: Comments VTK: Small fix to error message (.vts to .vtu) VTK: Small fix to error message Fixed bib entries Bib: Updates AO: fix erroneous processing of -ao_view and factor into AOViewFromOptions doc: fix named argument in {Vec,Mat,DM}ViewFromOptions Sys: add PetscDataTypeFromString() and test code Mat: Should say that it has a nullspace in MatView() parms: update tarball with fix for namespace conflict with metis fix citation 'Golub_Varga_1961' parmetis: update tarball to parmetis-4.0.2-p5 which fixes an install issue with cygwin Sys Logging: revert parent traversal fixed hdf5.py so that if self.libraries.compression is None the code still runs correctly DMDA: fix bad cast of DM_DA to PetscObject MatClique: follow DistMultiVec API changes MatClique: remove unused variables config cmakeboot: add C++ flags any time compiler is available config OpenMP: check for C++ flag any time the compiler is available replaced all left-over uses of a single PetscMalloc() to allocated multiple arrays: replaced with PetscMallocN() The only ones left are when the second array is set into the first array and one ugly usage in the MUMPS interface that cannot be easily fixed ...
Conflicts: config/builder.py src/dm/impls/plex/plexgeometry.c
show more ...
|
| #
459e96c1
|
| 28-Aug-2013 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/feature-plex-refine-3d
* master: (273 commits) Mat ex170: Comments VTK: Small fix to error message (.vts to .vtu) VTK: Small fix to error message Fixed bib
Merge branch 'master' into knepley/feature-plex-refine-3d
* master: (273 commits) Mat ex170: Comments VTK: Small fix to error message (.vts to .vtu) VTK: Small fix to error message Fixed bib entries Bib: Updates AO: fix erroneous processing of -ao_view and factor into AOViewFromOptions doc: fix named argument in {Vec,Mat,DM}ViewFromOptions Sys: add PetscDataTypeFromString() and test code Mat: Should say that it has a nullspace in MatView() parms: update tarball with fix for namespace conflict with metis fix citation 'Golub_Varga_1961' parmetis: update tarball to parmetis-4.0.2-p5 which fixes an install issue with cygwin Sys Logging: revert parent traversal fixed hdf5.py so that if self.libraries.compression is None the code still runs correctly DMDA: fix bad cast of DM_DA to PetscObject MatClique: follow DistMultiVec API changes MatClique: remove unused variables config cmakeboot: add C++ flags any time compiler is available config OpenMP: check for C++ flag any time the compiler is available replaced all left-over uses of a single PetscMalloc() to allocated multiple arrays: replaced with PetscMallocN() The only ones left are when the second array is set into the first array and one ugly usage in the MUMPS interface that cannot be easily fixed ...
Conflicts: include/petscdmplex.h
show more ...
|
| #
c0c93d0e
|
| 28-Aug-2013 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/feature-dmda-section
* master: (287 commits) Mat ex170: Comments VTK: Small fix to error message (.vts to .vtu) VTK: Small fix to error message Fixed bib e
Merge branch 'master' into knepley/feature-dmda-section
* master: (287 commits) Mat ex170: Comments VTK: Small fix to error message (.vts to .vtu) VTK: Small fix to error message Fixed bib entries Bib: Updates AO: fix erroneous processing of -ao_view and factor into AOViewFromOptions doc: fix named argument in {Vec,Mat,DM}ViewFromOptions Sys: add PetscDataTypeFromString() and test code Mat: Should say that it has a nullspace in MatView() parms: update tarball with fix for namespace conflict with metis fix citation 'Golub_Varga_1961' parmetis: update tarball to parmetis-4.0.2-p5 which fixes an install issue with cygwin Sys Logging: revert parent traversal fixed hdf5.py so that if self.libraries.compression is None the code still runs correctly DMDA: fix bad cast of DM_DA to PetscObject MatClique: follow DistMultiVec API changes MatClique: remove unused variables config cmakeboot: add C++ flags any time compiler is available config OpenMP: check for C++ flag any time the compiler is available replaced all left-over uses of a single PetscMalloc() to allocated multiple arrays: replaced with PetscMallocN() The only ones left are when the second array is set into the first array and one ugly usage in the MUMPS interface that cannot be easily fixed ...
show more ...
|
| #
609189e8
|
| 21-Aug-2013 |
Hong Zhang <hzhang@mcs.anl.gov> |
Merge branch 'master' of bitbucket.org:petsc/petsc
|
| #
9b921294
|
| 17-Aug-2013 |
Barry Smith <bsmith@mcs.anl.gov> |
Merge branch 'barry/improve-memory-logging'
Conflicts: src/ksp/pc/impls/redundant/redundant.c src/mat/interface/matnull.c
|
| #
52688152
|
| 30-Jul-2013 |
Richard Tran Mills <rmills@ornl.gov> |
Merge branch 'rmills/dm-localtolocal'
Introduces DMLocalToLocalxxx() (and deprecates DMDALocalToLocalxxx()) to support local-to-local communication operations for any DM type, not just DMDA. Adds D
Merge branch 'rmills/dm-localtolocal'
Introduces DMLocalToLocalxxx() (and deprecates DMDALocalToLocalxxx()) to support local-to-local communication operations for any DM type, not just DMDA. Adds DMShell routines to set up local-to-local operations.
show more ...
|
| #
d78e899e
|
| 11-Jul-2013 |
Richard Tran Mills <rmills@ornl.gov> |
Finished converting DMDALocalToLocalBegin()/End() to internal functions (DMLocalToLocalBegin()/End() should now be used) and deprecated this interface.
|
| #
3bb1ff40
|
| 28-May-2013 |
Barry Smith <bsmith@mcs.anl.gov> |
logging memory now credits to all ancestors
|
| #
4042b796
|
| 17-Mar-2013 |
Jed Brown <jed@59A2.org> |
Merge branch 'master' into jed/ts-eimex
Sync to include Git conversion, PETSC_EXTERN, and minor API changes.
Conflicts: src/ts/interface/tsregall.c
|
| #
4035e84d
|
| 16-Feb-2013 |
Barry Smith <bsmith@mcs.anl.gov> |
daimpl.h was never fixed? Well it is now
Hg-commit: a4f3f6d7e4f165ac5276405a089a596a28adc0b3
|
| #
ce94432e
|
| 13-Feb-2013 |
Barry Smith <bsmith@mcs.anl.gov> |
added PetscObjectComm() and used it to replace (((PetscObject)obj)->comm)
Hg-commit: 3da37c458124ad48ae939f4e9823e4430ee0b8be
|
| #
0298fd71
|
| 08-Feb-2013 |
Barry Smith <bsmith@mcs.anl.gov> |
removed PETSC_NULL from C and Fortran (except declaration in C for backward compatibility). Kept PETSC_NULL_xxx for Fortran Fixed a few bugs where PETSC_NULL had been used incorrectly.
Hg-commit: 05
removed PETSC_NULL from C and Fortran (except declaration in C for backward compatibility). Kept PETSC_NULL_xxx for Fortran Fixed a few bugs where PETSC_NULL had been used incorrectly.
Hg-commit: 054705a517d7f4388a8a084415d7478cbe95dff4
show more ...
|
| #
31d8eec5
|
| 01-Feb-2013 |
Barry Smith <bsmith@mcs.anl.gov> |
commit after merge
Hg-commit: 1fa981254c79c783277e37654668dfe698cddf41
|
| #
8865f1ea
|
| 01-Feb-2013 |
Karl Rupp <rupp@mcs.anl.gov> |
Uncrustified src/dm/*. No re-uncrustification of un-uncrustified plex.c.
Hg-commit: 0eadce41498eb88aa85fb46f989ad9d09bfd9c3e
|
| #
fd5aaf66
|
| 17-Jan-2013 |
Karl Rupp <rupp@mcs.anl.gov> |
Removed leftover \t from src/dm/impls/da/*
Hg-commit: 72626afd6f31514aec3a244fa693f5db1b850223
|
| #
6c2930d4
|
| 18-Sep-2012 |
Shri Abhyankar <abhyshr@mcs.anl.gov> |
Commit after merge
Hg-commit: 29c41d281e3ece3127c753661dccfd04e452b7f8
|
| #
3e08d2be
|
| 18-Sep-2012 |
Barry Smith <bsmith@mcs.anl.gov> |
removed trailing blanks from source code added rule rmtrailingblanks accessible via make ACTION=remtrailingblanks tree
Hg-commit: 6e3652165d48aa5f3e94dd66bf607adea6fac27a
|
| #
0f55b88d
|
| 03-Jul-2012 |
Satish Balay <balay@mcs.anl.gov> |
backout all chmod stuff in bf971ba58125 [but keep diffs to src/mat/impls/aij/mpi/mpimatmatmult.c ]
Hg-commit: 4a812fc1f35496ce2717c7da9ef12ffabbd13258
|
| #
c0174eb7
|
| 03-Jul-2012 |
Mark F. Adams <mark.adams@columbia.edu> |
removed a spurious call to MatSetBlockSize.
Hg-commit: bf971ba58125bd8cf7ceb2a9d0f5cdf27c27cc6a
|
| #
8e7768b9
|
| 24-Mar-2012 |
Matthew G Knepley <knepley@gmail.com> |
Merge
Hg-commit: f997b2abc12025b16065184c2bb279689bbd06ac
|
| #
b45d2f2c
|
| 24-Mar-2012 |
Jed Brown <jed@59A2.org> |
Rename include/private/ to include/petsc-private/
Hg-commit: 9a1730720b0d9756437b40462617551504641ade
|