convert some PetscMalloc() to PetscMalloc1()remove unneeded () in first argument to PetscMalloc/Calloc1()fixes for MATLAB examples
Moved registration of MatSolverPackages out of MatCreate_XXX routines into standalone system, this allows1) more precise error message when a requested solver is not found2) easier to add new solve
Moved registration of MatSolverPackages out of MatCreate_XXX routines into standalone system, this allows1) more precise error message when a requested solver is not found2) easier to add new solvers without touching basic PETSc matrix implementation files and the possibility of adding new solvers to the library after PETSc is installed or even at run time
show more ...
implement MatConvert_MPIDense_Elemental()
implement MatConvert_SeqDense_Elemental()
MATMPIDENSE used in documentation in several places that should have been MATSEQDENSEReported-by: Dave May <dave.mayhem23@gmail.com>
bugfix for error message of MatConvert() from dense to elemental
Mat doc: fix mismatches between Mat name and man pageReported-by: Sven Heinrich <s.heinrich@tu-braunschweig.de>
Merge branch 'jose/mataxpy-state'* jose/mataxpy-state: MatAXPY_Elemental: increment state Increase object state in MatAXPY for all matrix formats Increase state in MatHeaderReplace
Increase object state in MatAXPY for all matrix formats
removed limited support for passing NULL values pointer to MatSetValues() since it was implemented only by AIJ and never used.Now all matrix types generate suitable error when values is null
changes to examples due to objects always printing class and name information
Merge branch 'maint'Conflicts: src/mat/impls/dense/seq/dense.c
dense: fix overflow with int32*int32 during malloc()
Mat: Improve conversion of MATDENSE to MATAIJ- Previously, we were creating a fully dense AIJ matrix
completed some percentage of changes from %G format in prints
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 PetscCalloc[1-7]Replace lots of places where PetscMemzero is called immediately afterallocation.
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.
refactored residuals by adding a 'residual' method to Mat
Merge branch 'barry/improve-memory-logging'Conflicts: src/ksp/pc/impls/redundant/redundant.c src/mat/interface/matnull.c
Merge branch 'hzhang/mattransposematmult'Conflicts: src/mat/examples/tests/makefile
implement MatDestroy_SeqDense_MatTransMatMult
new dev on MatTransposeMatMult_aij_dense
logging memory now credits to all ancestors
Use classname in object for object name when calling PetscObjectPrintClassNamePrefixType() instead of some string with less precise name passed in
1...<<11121314151617181920>>...38