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 ...
Changed --download-umfpack and --download-cholmod to --download-suitesparse in the man docs.
update-SuiteSparse: update UMFPACK and CHOLMOD version info in the interface source file.
update-SuiteSparse: Changed a bunch of flags.Use PETSC_HAVE_SUITESPARSE instead of PETSC_HAVE_UMFPACK and PETSC_HAVE_CHOLMOD.Use SUITESPARSE_INCLUDE instead of UMFPACK_INCLUDE and CHOLMOD_INCLUDE.
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.
removed string version of function name for XXXRegister(), PetscFunctionListAdd() and PetscObjectComposeFunction()
Change all PETSC_EXTERN_C to PETSC_EXTERNHg-commit: 8d2ebbb193fb583bccc64015e35640c4e08c3426
completed removing unneeded EXTERN_C_BEGIN/END from Mat directories and converting to PETSC_EXTERN_C for constructorstested 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 constructorstested with and without dynamic with and without C++Hg-commit: 7d27d7f4d9ea3bfe6616fafdfb32d046b5db53a1
changed use of PetscObjectComposeFunctionDynamic() to PetscObjectComposeFunction() to allow use of static for functions for standard use in PETScPetscObjectComposeFunctionDynamic() is still availabl
changed use of PetscObjectComposeFunctionDynamic() to PetscObjectComposeFunction() to allow use of static for functions for standard use in PETScPetscObjectComposeFunctionDynamic() is still available for use if neededalso fixed calls to PetscObjectComposeFunction() to not wrap lines (per PETSc coding style)Hg-commit: 822f9ddaac95a8ff6c2a9ad77fbf07d02d2c20d9
added PetscObjectComm() and used it to replace (((PetscObject)obj)->comm)Hg-commit: 3da37c458124ad48ae939f4e9823e4430ee0b8be
removed PETSC_NULL from C and Fortran (except declaration in C for backward compatibility). Kept PETSC_NULL_xxx for FortranFixed 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 FortranFixed a few bugs where PETSC_NULL had been used incorrectly.Hg-commit: 054705a517d7f4388a8a084415d7478cbe95dff4
Uncrustified src/mat/*.Hg-commit: 5c6f04286a6cfcd98361b2479b884c0041d95b73
Partially uncrustified /src/mat/*Hg-commit: f66b7241e67ccd55e47747ce1f2433e82e4f86b9
Reformatted: "Do not put a blank line immediately before PetscFunctionReturn;"Hg-commit: c8a41c455986e732d0ea0513d7162a54daffaece
Carefully replaced more '){' by ') {', added checker scriptHg-commit: a0037010be00b56a68354d942365c8f8df63198a
removed a few more unneeded ifdef complex special cases where the complex version works for both real and complexHg-commit: 3fccdbc02d559ab8178d544bf536b2674db1cbdf
removed trailing spaces from all filesHg-commit: 1cfa55059afe46c5145e0e830cd797b97216abfb
reemove OBJSC and OBJSF from invididual makefiles and auto-define in conf/variablesHg-commit: 2f01c17f3c19dc4b89aaf306cfd60a12312c270d
code to match PETSc style guide for if (xxx) for (xxx) sizeof(xxx)Hg-commit: 01e0d19bcd83a980fb5e8e32b294a95da72b405f
further cleanup spoolesHg-commit: b466c58fa4a947b77144b5c5d899a90dc1a46b23
PetscTypeCompare -> PetscObjectTypeCompareHg-commit: 3fc8f665421ddb862bf4d1ba95505378246340be
Documentation fixes for options for specific matrix solversHg-commit: 100174d3da01faeba57dc2a3a183284bcb1b0654
Fix MatLUFactorNumeric_UMFPACK for use with a different matrix than symbolic factorization was done with, eliminate raw pointers in favor of reference counted MatHg-commit: 6fe2be003849e79921432030
Fix MatLUFactorNumeric_UMFPACK for use with a different matrix than symbolic factorization was done with, eliminate raw pointers in favor of reference counted MatHg-commit: 6fe2be003849e799214320306a24a1947982a71e
Fixed typo in MatDestroy_UMFPACKHg-commit: b634d03d95ea6e911470878139ba8cd537669dd4
12345678