MatHeaderReplace() corrupted the -objects_dump arrayReported-by: Torquil Macdonald Sørensen <torquil@gmail.com>MatHeaderReplace() and MatHeaderMerge() destroy the second matrix argument therefor
MatHeaderReplace() corrupted the -objects_dump arrayReported-by: Torquil Macdonald Sørensen <torquil@gmail.com>MatHeaderReplace() and MatHeaderMerge() destroy the second matrix argument therefor pass it asa pointer to it can be zeroed and not mistakenly reused.
show more ...
Merge branch 'pr329/master/Fande-Kong/matpartitioning-hierarch' into pr361/master/Fande-Kong/pcgasm-increaseoverlap: need hierarch to build GASM subdomains.Conflicts: src/mat/examples/tests/makefi
Merge branch 'pr329/master/Fande-Kong/matpartitioning-hierarch' into pr361/master/Fande-Kong/pcgasm-increaseoverlap: need hierarch to build GASM subdomains.Conflicts: src/mat/examples/tests/makefile src/mat/impls/aij/mpi/mpiaij.h
win32: compile fix
Merge branch 'matpartitioning-hierach' into pcgasm-increaseoverlapGot an example ( /src/mat/examples/tests) from matpartitioning-hierachConflicts: src/mat/impls/adj/mpi/mpiadj.c
Fixed bugs in MatGetRow_MPIAdj
Added several function declarations
Fixed several compiler errors and warnings
Fixed 'uninitialzed variable' warnings
Implemented MatGetSubMatricesMPI_MPIAdj
Fixed warnings: variable uninitialized
Fixed bugs
added a declaration MatGetSubMatricesIn fact, I am not sure where I should put this declaration???
implemented MatGetSubMatrices_MPIAdj
Implemented MatGetSubMatrices_MPIAdj
implemented a MatGetSubMatrix_MPIAdj_Single
updated PETSc directory layout to match standard packaging strategiesinclude/petsc finclude,private,mpiunilib/petsc confbin/petsc*
Optimized MatShift() for a completely empty matrix since this is commonly used with SLEPc to produce diagonal matricesReported-by: Jose Roman <jroman@dsic.upv.es>
manual merge of conflict
convert some PetscMalloc() to PetscMalloc1()remove unneeded () in first argument to PetscMalloc/Calloc1()fixes for MATLAB examples
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,@'
Sys: add PetscMalloc1 macro, array allocation without redundant typesThe type is inferred from the pointer return type. This patch isautomated via the following script:git grep -l 'PetscMalloc(
Sys: add PetscMalloc1 macro, array allocation without redundant typesThe type is inferred from the pointer return type. This patch isautomated 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 pointerarity. The code was introduced in 2006, but the allocation could nothave been correct at any time. This probably means thatMatDuplicate_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.
Merge branch 'jed/mat-adj-getrow'* jed/mat-adj-getrow: MatGetRow_MPIAdj: return actual values if requested MatGetRow_MPIAdj: simplify expression for idx
MatGetRow_MPIAdj: return actual values if requestedNeed to pack into scalar array because MPIAdj holds into values.
MatGetRow_MPIAdj: simplify expression for idx
refactored residuals by adding a 'residual' method to Mat
12345678910>>...15