| #
a906b49b
|
| 10-Dec-2013 |
BarryFSmith <bsmith@mcs.anl.gov> |
Merged master into barry/update-xxxviewfromoptions
|
| #
edbbd480
|
| 10-Dec-2013 |
Barry Smith <bsmith@mcs.anl.gov> |
Merge branch 'master' into barry/xcode
|
| #
e0133700
|
| 05-Dec-2013 |
Barry Smith <bsmith@mcs.anl.gov> |
Merge branch 'barry/saws-push-header-body' into barry/saws-options
|
| #
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 ...
|
| #
1795a4d1
|
| 03-Dec-2013 |
Jed Brown <jedbrown@mcs.anl.gov> |
Sys: add PetscCalloc[1-7]
Replace lots of places where PetscMemzero is called immediately after allocation.
|
| #
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 ...
|
| #
c4fbd833
|
| 08-Nov-2013 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/feature-fem-dgspace
* master: (593 commits) Bib: Added Top500 and fixed entry fun3d: update PetscMallocValidate() usage bib: rename ref with duplicate key
Merge branch 'master' into knepley/feature-fem-dgspace
* master: (593 commits) Bib: Added Top500 and fixed entry fun3d: update PetscMallocValidate() usage bib: rename ref with duplicate key Webpage: Corrected '-dm_mat_type cusp' to 'dm_mat_type aijcusp'. Allow calling MatGetBlockSize[s]() before matrix preallocation SNESLINESEARCHBT: Set the norms when exiting early due to negligible step. SNESQN: only monitor real part of dot product (fails with C++ complex) Corrected the #include statement in the man pages for the PetscObjectComposedDataSet/Getwhatever routines. DMPlex: Added doc for DMPlexGetHybridBounds() winzip: detect if winzip is used to extract petsc.tar.gz and error out. configure: remove self.archIndependent as its not being used. [it is used to create externalpackages/package/arch dir which is unused] configure: fix packages using package-dir/PETSC_ARCH as out-of-source-build location Perhaps this should be changed to package-dir/build? configure: remove dead code previously used to download BuildSystem configure: check if compilerDefines [and compilerFixes] exist in framework before using them configure: save/restore reconfigure.py when --with-clean is used configure: add --with-clean option to delete buildfiles/externalpackages in PETSC_DIR/PETSC_ARCH and potential externalpackages in --with-external-package-dir/PETSC_ARCH configure: With --with-externalpackages-dir=dir store/build packages in dir/PETSC_ARCH Add MatSeqSBAIJSetPreallocationCSR() configure: switch to using PETSC_DIR/PETSC_ARCH/externalpackages by updating package.py to use externalpackages.py as the externalPackagesDirProvider configure: move dead code configureExternalPackagesDir() from petscdir.py to externalpackagesdir.py Also set PETSC_DIR/PETSC_ARCH/externalpackages as the externalpackagesdir ...
show more ...
|
| #
7737a228
|
| 31-Oct-2013 |
Barry Smith <bsmith@mcs.anl.gov> |
Merge branch 'master' into barry/saws
Conflicts: src/ksp/pc/impls/gamg/gamg.c src/sys/classes/viewer/impls/ams/ams.c src/sys/objects/pinit.c
|
| #
170be9ae
|
| 16-Oct-2013 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/feature-dmda-section
* master: (397 commits) PetscSynchronizedFGets: fix deadlock at EOF Compiler: Fix warnings from MPI impls which do not initialize outputs
Merge branch 'master' into knepley/feature-dmda-section
* master: (397 commits) PetscSynchronizedFGets: fix deadlock at EOF Compiler: Fix warnings from MPI impls which do not initialize outputs Increase patchlevel to 3.4.3 SNES: Now work vectors come from the DM SNES ex62: Remove code generation SNES: Move setup involving snes->vec_sol from SNESSetUp() to SNESolve() Compiler: Fix warnings from MPI impls which do not initialize outputs DMPlex ex7: Added missing test output SNES ex52: Removed old Jacobian stuff, and fixed call to DMPlexProjectFunction() - Fixed calls for new element handling SNES ex12: Added a performance profiling mode DMPlex ex8: Fixed leak PetscSection: Must reset the section when changing the number of fields DMPlex ex7: Fixed test output - Corrected orientations in interpolation DMPlex ex1: Fixed test output - Uniform refinement for quads changed DMPlex: Fix overagressive checks PC: Removed support graph PC configure: both downloadonWindows and worksonWindows refer to MS compilers. Also fix isWindows() -> isWindows(CC). MatXAIJSetPreallocation: use array[] notation to help out Fortran __float128: when blas/lapack is not found instruct using f2cblaslapack Configure: Package.downloadonWindows is supposed to mean that Windows compilers work. not Cygwin - Also changed doc for Package.worksonWindows, which does refer to Cygwin ...
Conflicts: src/dm/impls/da/dalocal.c
show more ...
|
| #
32029c4c
|
| 06-Oct-2013 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/feature-plex-refine-3d
* master: (149 commits) Bib: Added papers referencing PETSc from ResearchGate Bib: Fixed urls for some refs Suggested-by: Michele De Ste
Merge branch 'master' into knepley/feature-plex-refine-3d
* master: (149 commits) Bib: Added papers referencing PETSc from ResearchGate Bib: Fixed urls for some refs Suggested-by: Michele De Stefano fixed bug that has appeared recently of false positive errors when there are zero local equations on coarse grids in gamg-agg. MatSchurComplement: Must initialize KSP package bib: fix inbook citation Bib: Updated some refs SNES: fix copy/paste in man page fortran: fix KSPCONVERGEDDEFAULT and SNESCONVERGEDSKIP in fortran includes Mat SBAIJ: avoid invalid memory read in MatSOR_SBAIJ Revert "MatMPIBAIJSetPreallocationCSR() handled the input matrix entries incorrectly, it treated them as if each row of values" PCGAMG: fix corruption for multiple solves when MatSetNearNullSpace is used PCGAMG: remove distracting comment KSP ex49: restrict near-null space for elasticity example with sym BC MatMPIBAIJSetPreallocationCSR() handled the input matrix entries incorrectly, it treated them as if each row of values was provided ordered by row within the block rows instead of by block as it was originally designed to be. Also added more discussion to the manual pages on the expected order of the values Fix accidental creation of the matrices in SNESNCG used for linear analogue LS. PCGAMG: add man page for PCGAMGType fortran: fix snesconvergedskip_() kspconvergedskip_() kspconvergeddefault*_() rm // Sys: new_ir changed from PetscInt to PetscObjectState - so fix mallocs to use the new type SNES: Fixed package init in SNESLineSearchCreate() ...
Conflicts: include/petscdmplex.h src/dm/impls/plex/examples/tests/ex5.c src/dm/impls/plex/plex.c src/dm/interface/dm.c
show more ...
|
| #
341eb716
|
| 26-Sep-2013 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jed/object-id'
|
| #
578ff698
|
| 26-Sep-2013 |
Satish Balay <balay@mcs.anl.gov> |
Sys: new_ir changed from PetscInt to PetscObjectState - so fix mallocs to use the new type
|
| #
8dcff661
|
| 24-Sep-2013 |
Jed Brown <jedbrown@mcs.anl.gov> |
PetscObjectStateGet: fix stale comments about *StateQuery
|
| #
2492010b
|
| 20-Sep-2013 |
Jed Brown <jedbrown@mcs.anl.gov> |
Merge branch 'jed/object-id'
* jed/object-id: Sys: mark PetscObjectState modification as logically collective Sys: convert object ID to 64-bit and add PetscObjectGetId() Sys: typedef PetscObje
Merge branch 'jed/object-id'
* jed/object-id: Sys: mark PetscObjectState modification as logically collective Sys: convert object ID to 64-bit and add PetscObjectGetId() Sys: typedef PetscObjectState and change all accessors unified PetscObjectStateXXX() commands. Fixed PetscObjectStateQuery() to PetscObjectStateGet()
show more ...
|
| #
704cc5ce
|
| 19-Sep-2013 |
Jed Brown <jedbrown@mcs.anl.gov> |
Sys: mark PetscObjectState modification as logically collective
|
| #
127c8a3b
|
| 19-Sep-2013 |
Jed Brown <jedbrown@mcs.anl.gov> |
Sys: convert object ID to 64-bit and add PetscObjectGetId()
Object Ids must never be reused. If objects are created in iterations (e.g., due to sloppy coding or adaptivity), a 32-bit Id could overf
Sys: convert object ID to 64-bit and add PetscObjectGetId()
Object Ids must never be reused. If objects are created in iterations (e.g., due to sloppy coding or adaptivity), a 32-bit Id could overflow in a long simulation. Use a typedef for clarity.
show more ...
|
| #
270bf2e7
|
| 19-Sep-2013 |
Jed Brown <jedbrown@mcs.anl.gov> |
Sys: typedef PetscObjectState and change all accessors
State is used to manage caches of intermediate structures. If state overflowed, it would allow a cached value to be reused incorrectly, leadin
Sys: typedef PetscObjectState and change all accessors
State is used to manage caches of intermediate structures. If state overflowed, it would allow a cached value to be reused incorrectly, leading to wrong results or possibly corruption. In long runs, it is conceivable for an object to undergo 2^32 state transitions between encounters, thus it is important to use a 64-bit counter. The typedef is just for clarity.
show more ...
|
| #
59e4f3c8
|
| 17-Sep-2013 |
Barry Smith <bsmith@mcs.anl.gov> |
unified PetscObjectStateXXX() commands. Fixed PetscObjectStateQuery() to PetscObjectStateGet()
|
| #
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
|
| #
d9799b0b
|
| 12-Feb-2013 |
Jed Brown <jed@59A2.org> |
Merge branch 'private-impl-headers'
petsc-private/petscimpl.h and vecimpl.h are no longer included by petscsys.h and petscvec.h. Some inline functions become normal functions as a consequence of the
Merge branch 'private-impl-headers'
petsc-private/petscimpl.h and vecimpl.h are no longer included by petscsys.h and petscvec.h. Some inline functions become normal functions as a consequence of these changes.
Hg-commit: 5c59734726c7c41f493a5f5b9303cfab5c66ae21
show more ...
|
| #
afcb2eb5
|
| 12-Feb-2013 |
Jed Brown <jed@59A2.org> |
Make petscimpl.h private
Hg-commit: 910e8b03a54a915953944da6f75eb81c807d7428
|
| #
a297a907
|
| 29-Jan-2013 |
Karl Rupp <rupp@mcs.anl.gov> |
Uncrustified src/sys/*
Hg-commit: 9f71677807bad7b55428a6cc0f5ccc5052e91805
|
| #
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
|