KSPSetOperators() no longer has the MatStructure argument. The Mat objects now track that information themselves. Use KPS/PCSetReusePreconditioner() to prevent the recomputation of the preconditioner
KSPSetOperators() no longer has the MatStructure argument. The Mat objects now track that information themselves. Use KPS/PCSetReusePreconditioner() to prevent the recomputation of the preconditioner if the operator changed in the way that SAME_PRECONDITIONER did with KSPSetOperators()SNES/TS still need to be cleaned up to better utilize the new interfaces
show more ...
Merge branch 'barry/fix-singleton-viewer'
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.
fixed PetscViewerASCIIPrintf() for a single viewer so that the singletons ASCII output is actually preserved
logging memory now credits to all ancestors
PetscObjectQueryFunction: use macro to hide PetscVoidFunction* castRationale is the same as the parent. This makes all ofPetscFunctionListAdd(), PetscFunctionListFind(),PetscObjectComposeFunction
PetscObjectQueryFunction: use macro to hide PetscVoidFunction* castRationale is the same as the parent. This makes all ofPetscFunctionListAdd(), PetscFunctionListFind(),PetscObjectComposeFunction(), and PetscObjectQueryFunction() consistentregarding function pointer return types.
removed string version of function name for XXXRegister(), PetscFunctionListAdd() and PetscObjectComposeFunction()
Merged PCBJacobiSetUseTrueLocal(), -pc_bjacobi_true_local, PCKSPSetUseTrue(), -pc_ksp_true, PCCompositeSetUseTrue() -pc_composite_true to PCSetUserAmat(), -pc_use_amat.Hg-commit: 28c28f0c8c27af7553
Merged PCBJacobiSetUseTrueLocal(), -pc_bjacobi_true_local, PCKSPSetUseTrue(), -pc_ksp_true, PCCompositeSetUseTrue() -pc_composite_true to PCSetUserAmat(), -pc_use_amat.Hg-commit: 28c28f0c8c27af7553d524c69009ff509f6495ce
Change all PETSC_EXTERN_C to PETSC_EXTERNHg-commit: 8d2ebbb193fb583bccc64015e35640c4e08c3426
finished all EXTERN_C_BEGIN/END fixes up through Mat including all fortran interface filesHg-commit: a763120ba50023930be975663a3f80c58e415743
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
began removing extern "C" wrappers for functions passed to PetscObjectComposeFunction() and making appropriate ones staticHg-commit: eef29051d7c47680850b22cd953238719c6b75fc
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
Split out petscdmdatypes.h and petscdmtypes.hHg-commit: 3f8f2ebaa036547d616a74a818868b81d0922c1f
PC(G)ASM controls whether to use DMCreateDomainDecomposition().Hg-commit: 29bbafebb152e9eac4d99dbc326d3203b6b8fd77
added PetscObjectComm() and used it to replace (((PetscObject)obj)->comm)Hg-commit: 3da37c458124ad48ae939f4e9823e4430ee0b8be
Adjusted check for NULL instead of PETSC_NULL, fixed remaining uses of PETSC_NULLHg-commit: 6aa0365770ae203a0249581a0e63fa289e95b4dd
Removing DMCreateDomainDecompositionDM and DMCreateFieldDecompositionDM.Hg-commit: 5a40b47b72b8008daf1ed3dec805e07eb1831dde
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/ksp/pc/*Hg-commit: b80b33e3b1d8943a898b18384bc7b2c1a3103a32
Reformatted: "Do not put a blank line immediately before PetscFunctionReturn;"Hg-commit: c8a41c455986e732d0ea0513d7162a54daffaece
Reformatted: "There should be a blank line before PetscFunctionBegin;"Hg-commit: 05bda4416aaceb2dbd9d85b5720629adc88eef98
generally SETERRQXX does not belong on its own linealso fixed formatting issues in dgmres.c (ugh)Hg-commit: e3fffdf67cd55655a36785a0abc7c197e98ca7cd
Replaced remaining '){' with ') {'.Hg-commit: f4f35e45a9688d9cbe30c43558c5cab041b08998
12345678910>>...14