| #
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 ...
|
| #
b00a9115
|
| 03-Dec-2013 |
Jed Brown <jedbrown@mcs.anl.gov> |
Sys: drop explicit type arguments from PetscNew() and PetscNewLog()
git grep -l 'PetscNew\(Log\)\?(' -- $1 | xargs perl -pi -e ' s@PetscNew\([^,;()]+ *, *@PetscNew(@; s@PetscNewLog\(([^,;()]+) *,[^,
Sys: drop explicit type arguments from PetscNew() and PetscNewLog()
git grep -l 'PetscNew\(Log\)\?(' -- $1 | xargs perl -pi -e ' s@PetscNew\([^,;()]+ *, *@PetscNew(@; s@PetscNewLog\(([^,;()]+) *,[^,;()]+, *@PetscNewLog($1,@'
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
|
| #
7e7d4f0d
|
| 10-Apr-2013 |
Richard Mills <rtm@eecs.utk.edu> |
Merged petsc/petsc into rmills/petsc master
|
| #
8a1af44d
|
| 03-Apr-2013 |
Jed Brown <jed@59A2.org> |
Merge branch 'barry/rm-xxxregisterdynamic'
* barry/rm-xxxregisterdynamic: Registration: remove stale 'XXRegisterDynamic)' entries in man pages TS examples: fix use of PetscFunctionList and add t
Merge branch 'barry/rm-xxxregisterdynamic'
* barry/rm-xxxregisterdynamic: Registration: remove stale 'XXRegisterDynamic)' entries in man pages TS examples: fix use of PetscFunctionList and add to nightlies Changes: Note updates to XRegisterDynamic/PetscObjectComposeFunctionDynamic PetscObjectComposeFunctionDynamic: remove stale docs and usage developers.tex: remove complications from function composition with dlls removed string version of function name for XXXRegister(), PetscFunctionListAdd() and PetscObjectComposeFunction() changes: document PetscFunctionListAdd() API change developers.tex: update documentation of PetscObjectComposeFunction removed path and MPI_Comm arguments from PetscFunctionListFind/Add() removed path argument to XXXInitializePackage() and XXXRegister() removed XXXRegisterDynamic() but kept the APIs for everything else underneath the same phase I of the update to handling registering function pointers
show more ...
|
| #
e1d27e54
|
| 28-Mar-2013 |
Jed Brown <jed@59A2.org> |
Merge branch 'barry/rm-xxxregisterdynamic' into jed/ts-eimex
PetscObjectComposeFunctionDynamic() and TSRegisterDynamic() were replaced by PetscObjectComposeFunction() and TSRegister(), both of which
Merge branch 'barry/rm-xxxregisterdynamic' into jed/ts-eimex
PetscObjectComposeFunctionDynamic() and TSRegisterDynamic() were replaced by PetscObjectComposeFunction() and TSRegister(), both of which drop the string name argument.
* barry/rm-xxxregisterdynamic: (82 commits) ...
Conflicts: src/ts/interface/tsregall.c
show more ...
|
| #
bdf89e91
|
| 26-Mar-2013 |
Barry Smith <bsmith@mcs.anl.gov> |
removed string version of function name for XXXRegister(), PetscFunctionListAdd() and PetscObjectComposeFunction()
|
| #
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
|
| #
b2573a8a
|
| 05-Mar-2013 |
Barry Smith <bsmith@mcs.anl.gov> |
completed removing unneeded EXTERN_C_BEGIN/END from Mat directories and converting to PETSC_EXTERN_C for constructors tested with and without dynamic with and without C++
Hg-commit: 7d27d7f4d9ea3bfe
completed removing unneeded EXTERN_C_BEGIN/END from Mat directories and converting to PETSC_EXTERN_C for constructors tested with and without dynamic with and without C++
Hg-commit: 7d27d7f4d9ea3bfe6616fafdfb32d046b5db53a1
show more ...
|
| #
e9fbd226
|
| 05-Mar-2013 |
Richard Tran Mills <rmills@ornl.gov> |
Automerge.
Hg-commit: 2a552fd584bf855b9dc42efec9e8ab778063a84f
|
| #
00de8ff0
|
| 04-Mar-2013 |
Barry Smith <bsmith@mcs.anl.gov> |
changed use of PetscObjectComposeFunctionDynamic() to PetscObjectComposeFunction() to allow use of static for functions for standard use in PETSc PetscObjectComposeFunctionDynamic() is still availabl
changed use of PetscObjectComposeFunctionDynamic() to PetscObjectComposeFunction() to allow use of static for functions for standard use in PETSc PetscObjectComposeFunctionDynamic() is still available for use if needed also fixed calls to PetscObjectComposeFunction() to not wrap lines (per PETSc coding style)
Hg-commit: 822f9ddaac95a8ff6c2a9ad77fbf07d02d2c20d9
show more ...
|
| #
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 ...
|
| #
7e590d5f
|
| 03-Feb-2013 |
Barry Smith <bsmith@mcs.anl.gov> |
commit after merge
Hg-commit: db805e8197486aa7db018c01793dec447b9e9cbb
|
| #
26fbe8dc
|
| 02-Feb-2013 |
Karl Rupp <rupp@mcs.anl.gov> |
Uncrustified src/mat/*.
Hg-commit: 5c6f04286a6cfcd98361b2479b884c0041d95b73
|
| #
e79ce49d
|
| 02-Feb-2013 |
Barry Smith <bsmith@mcs.anl.gov> |
commit after merge
Hg-commit: f37b1e00e84f4f2c19b94a78ed2de72bd29e5778
|
| #
2205254e
|
| 02-Feb-2013 |
Karl Rupp <rupp@mcs.anl.gov> |
Partially uncrustified /src/mat/*
Hg-commit: f66b7241e67ccd55e47747ce1f2433e82e4f86b9
|
| #
009bbdc4
|
| 26-Jan-2013 |
Karl Rupp <rupp@mcs.anl.gov> |
Reformatted: "Do not put a blank line immediately before PetscFunctionReturn;"
Hg-commit: c8a41c455986e732d0ea0513d7162a54daffaece
|
| #
c5a46771
|
| 22-Jan-2013 |
Barry Smith <bsmith@mcs.anl.gov> |
commit aftr merge
Hg-commit: 854807b200896ff0e3d6fb344a549ed1a2b93850
|
| #
f5f7c1b9
|
| 19-Jan-2013 |
Karl Rupp <rupp@mcs.anl.gov> |
Carefully replaced more '){' by ') {', added checker script
Hg-commit: a0037010be00b56a68354d942365c8f8df63198a
|