| #
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 ...
|
| #
8ea3bf28
|
| 21-Oct-2013 |
Barry Smith <bsmith@mcs.anl.gov> |
removed idx and Nl from DM_DA object since the dm->ltogmap has the same information
this eliminates one memory usage of size dof * number of local grid points in DMSetUp_DA Needed to add DMDARestore
removed idx and Nl from DM_DA object since the dm->ltogmap has the same information
this eliminates one memory usage of size dof * number of local grid points in DMSetUp_DA Needed to add DMDARestoreGlobalIndices() to properly allow access to dm->logmap with DMDAGetGlobalIndices(). Though users could use DMGetGlobalToLocalMapping() followed by ISLocalGetGlobalMappingGetIndices() I have retained DMDAGetGlobalIndices() to the code refactorization is less dramatic; the code could be changed later to eliminate DMDAGetGlobalIndices()
show more ...
|
| #
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
|
| #
c19eab39
|
| 06-Mar-2013 |
Richard Tran Mills <rmills@ornl.gov> |
Automerge.
Hg-commit: b6659d546870fb013f3da5bcd5066d1dc0dc329c
|
| #
296840b1
|
| 06-Mar-2013 |
Jed Brown <jed@59A2.org> |
Merge branch 'master' of gitifyhg::ssh://hg@bitbucket.org/BarryFSmith/petsc-dev-simp
Symbol visibility and namespacing.
C++ builds always set extern "C" and can be called from plain C. Most users w
Merge branch 'master' of gitifyhg::ssh://hg@bitbucket.org/BarryFSmith/petsc-dev-simp
Symbol visibility and namespacing.
C++ builds always set extern "C" and can be called from plain C. Most users will only want --with-clanguage=C++ for std::complex.
Hg-commit: f848d02318cae92d7b32037c7ee88f92dbe46347
show more ...
|
| #
8cc058d9
|
| 06-Mar-2013 |
Jed Brown <jed@59A2.org> |
Change all PETSC_EXTERN_C to PETSC_EXTERN
Hg-commit: 8d2ebbb193fb583bccc64015e35640c4e08c3426
|
| #
39d7646b
|
| 06-Mar-2013 |
Jed Brown <jed@59A2.org> |
Change all PETSC_EXTERN_C to PETSC_EXTERN
Hg-commit: ba0cf153561ff2dc521f42e94b7164fbe7b5d798
|
| #
99e0435e
|
| 05-Mar-2013 |
Barry Smith <bsmith@mcs.anl.gov> |
updated from EXTERN_C_BEGIN/END through sys directory
Hg-commit: ee6b7ef2f48ce66402e7e807302de19506ce15df
|
| #
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 ...
|
| #
b04a062a
|
| 05-Feb-2013 |
Shri Abhyankar <abhyshr@mcs.anl.gov> |
commit after merge.
Hg-commit: e15fd985275e9e6c40407ae90b2d69ed97fbf48d
|
| #
299eca30
|
| 05-Feb-2013 |
Barry Smith <bsmith@mcs.anl.gov> |
commit after merge
Hg-commit: b5179cc7865f723cd5e23a2244f6bcbc7b905437
|
| #
978fe322
|
| 04-Feb-2013 |
Karl Rupp <rupp@mcs.anl.gov> |
Removed remaining spaces in cast to pointer-type.
Hg-commit: dccb79187adf08b4501155bd6550e95ac2ab554c
|
| #
a297a907
|
| 29-Jan-2013 |
Karl Rupp <rupp@mcs.anl.gov> |
Uncrustified src/sys/*
Hg-commit: 9f71677807bad7b55428a6cc0f5ccc5052e91805
|
| #
b769355b
|
| 31-Dec-2012 |
Jed Brown <jed@59A2.org> |
merge PetscSF implementation
Hg-commit: 98dccc99445b69cb7a66312149eb16fec359e294
|
| #
bcaeba4d
|
| 31-Dec-2012 |
Barry Smith <bsmith@mcs.anl.gov> |
removed adic stuff
Hg-commit: 99933b6f66a48c78b00a3952edfaf6191df65340
|
| #
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
|
| #
5c550465
|
| 14-Mar-2012 |
Jed Brown <jed@59A2.org> |
PETSC_NULL_TRUTH -> PETSC_NULL_BOOL
Hg-commit: e39f8c5fd8e2c2d9fdaf3fd263b3bb88217acf29
|
| #
d39137a2
|
| 12-Jan-2012 |
Barry Smith <bsmith@mcs.anl.gov> |
commit after merge
Hg-commit: d540875a63b3c979c82b6a7fa7f062571e906d10
|
| #
247e2d92
|
| 06-Jan-2012 |
Jed Brown <jed@59A2.org> |
Mass revert file modes that were made executable in f6e61ee9c329
Hg-commit: 116d90d0b66125cee0db3e7351047057e756baf5
|