moved PetscOptionsObject from global variable to local variable in functions
manual merge of conflict
-ksp_richardson_scale was ignored when PCApplyRichardson() was usedFix: turn off PCApplyRichardson() when scale is not 1 and print PetscInfo warningReported-by: Mark Adams <mfadams@lbl.gov>Fixed
-ksp_richardson_scale was ignored when PCApplyRichardson() was usedFix: turn off PCApplyRichardson() when scale is not 1 and print PetscInfo warningReported-by: Mark Adams <mfadams@lbl.gov>Fixed missing carriage return in uses of PetscInfo() and missing ierr CHKERRQ() usage
show more ...
convert some PetscMalloc() to PetscMalloc1()remove unneeded () in first argument to PetscMalloc/Calloc1()fixes for MATLAB examples
Placate static analyzer complaints about unreachable codeHenry Tufo's "shared separator" project is unlikely to be completed, atleast not by him, so delete the incomplete code fragment.Reported-
Placate static analyzer complaints about unreachable codeHenry Tufo's "shared separator" project is unlikely to be completed, atleast not by him, so delete the incomplete code fragment.Reported-by: Patrick Sanan <patrick.sanan@gmail.com>
Merge branch 'prbrune/removeunwrappedmathfunctions'* prbrune/removeunwrappedmathfunctions: Math: fix typo Added src/sys/examples/tests/ex25.c for PetscScalar and PetscReal wrapping. Wrapped t
Merge branch 'prbrune/removeunwrappedmathfunctions'* prbrune/removeunwrappedmathfunctions: Math: fix typo Added src/sys/examples/tests/ex25.c for PetscScalar and PetscReal wrapping. Wrapped tan(),[sin,cos,tan]h() for Real/Scalar, a[sin,cos,tan]() for Real. Wrapped math.h and quadmath.h functions used in petsc source exempting examplesConflicts: include/petscmath.h src/dm/dt/interface/dt.c src/ksp/ksp/impls/cg/stcg/stcg.c src/snes/linesearch/interface/linesearch.c src/ts/impls/explicit/rk/rk.c
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.
Wrapped math.h and quadmath.h functions used in petsc source exempting examples
PetscStackCallBLAS: new macro instead of PetscStackCall (skip CHKMEMQ)When CHKMEMQ occurs on every call to BLAS or Lapack, we sometimes seeunacceptable performance degradation (orders of magnitude
PetscStackCallBLAS: new macro instead of PetscStackCall (skip CHKMEMQ)When CHKMEMQ occurs on every call to BLAS or Lapack, we sometimes seeunacceptable performance degradation (orders of magnitude).PetscStackCallBLAS is currently identical to PetscStackCall except forskipping CHKMEMQ, but such checking could be made optional in thefuture.
doc: nightlybuild fixes
Change all PETSC_EXTERN_C to PETSC_EXTERNHg-commit: 8d2ebbb193fb583bccc64015e35640c4e08c3426
merge, terrible manual process with many conflicts with Jed's PETSC_INTERNALHg-commit: 84df07d03c6e55bd0f27bd5ee8c1738562bd529d
visibility: use PETSC_INTERN when possibleHg-commit: 3b4bfb5c23843293f1f08790b48437080a32eb42
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
do not use pow() etc directly in PETSc codeHg-commit: 30010d59c4efe8e81910d916acb318c96a081c3a
started Lua interfaceHg-commit: 6dfea162d6cb4d4a9fb506f404fe6b30e71d070c
added PetscObjectComm() and used it to replace (((PetscObject)obj)->comm)Hg-commit: 3da37c458124ad48ae939f4e9823e4430ee0b8be
removed a bunch of duplicate unneeded includes of std include filesHg-commit: b6c9f3e2b0eb8b7277fe131cc83beede5d495522
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
added back in /*I "petscvec.h" I*/ in several files I mistakenly removed it fromwrapped all the BLAS calls in PetscStackCall()Hg-commit: 18be25a7ff539aa5230355449bf40d90e959b06a
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
updated PetscBLASIntCast() to return an error codeHg-commit: 57d88da2280bc54336c931f5cac9a473f8f9a031
123456789