| #
901f9382
|
| 02-Jan-2026 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'release'
|
| #
13f45048
|
| 01-Jan-2026 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'rmills/fix-matdiagonalscalelocal/release' into 'release'
Fix long-standing bug in MatMPIAIJDiagonalScaleLocalSetUp()
See merge request petsc/petsc!8910
|
| #
498e7f42
|
| 31-Dec-2025 |
Richard Tran Mills <rmills@rmills.org> |
Remove legacy '+1' allocations in XXXDiagonalScaleLocalSetUp() routines for AIJ and BAIJ parallel matrices
This commit removes '+1's in some memory allocations that are believed to be leftover from
Remove legacy '+1' allocations in XXXDiagonalScaleLocalSetUp() routines for AIJ and BAIJ parallel matrices
This commit removes '+1's in some memory allocations that are believed to be leftover from long ago to handle corner cases with malloc() calls of size 0, which some implementations would not handle correctly. This ceased to be an issue long ago.
Thanks-to: Pierre Jolivet <pierre@joliv.et>, Barry Smith <bsmith@petsc.dev>
show more ...
|
| #
b1f10902
|
| 23-Dec-2025 |
Richard Tran Mills <rmills@rmills.org> |
Fix long-standing bug in MatMPIAIJDiagonalScaleLocalSetUp()
This commit fixes a problem I discovered in October 2017 and then forgot about after some unsuccessful initial attempts to find the proble
Fix long-standing bug in MatMPIAIJDiagonalScaleLocalSetUp()
This commit fixes a problem I discovered in October 2017 and then forgot about after some unsuccessful initial attempts to find the problem. The MPIAIJ implementation for MatDiagonalScaleLocalSetUp() was broken when the local-to-global mappings in PETSc were refactored to always use block indices; the MPIAIJ implementation of MatDiagonalScaleLocalSetUp(), however, used element-wise, not block indexing, and this was not refactored at the time, as it was overlooked due to having no test case. My commit finally fixes this; it also fixes several memory leaks in the AIJ and BAIJ implementations of MatDiagonalScaleLocal() which were overlooked, again, due to having no test cases.
show more ...
|
| #
834855d6
|
| 27-Aug-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jolivet/clang-format-21' into 'main'
clang-format-21
See merge request petsc/petsc!8202
|
| #
ac530a7e
|
| 03-Jun-2025 |
Pierre Jolivet <pierre@joliv.et> |
Remove unnecessary braces around one-liners
git grep -lE "[ ]*(if|for|while) \(.*\) {[^;]*;[^;]*}$" -- '*.c' '*.cxx' '*.cu' '*.h' '*.hpp' '*.cpp' | xargs sed -i '' -E 's#([ ]*)(if|for|while) \((.*)\
Remove unnecessary braces around one-liners
git grep -lE "[ ]*(if|for|while) \(.*\) {[^;]*;[^;]*}$" -- '*.c' '*.cxx' '*.cu' '*.h' '*.hpp' '*.cpp' | xargs sed -i '' -E 's#([ ]*)(if|for|while) \((.*)\) {([^;]*);([^;]*)}$#\1\2 \(\3\)\4;\5#'
show more ...
|
| #
3531e584
|
| 03-Jan-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/release'
|
| #
f4f5f0af
|
| 03-Jan-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'lindad/mpi-fix-reset-preallocation' into 'release'
Fix MatResetPreallocation_MPIAIJ
See merge request petsc/petsc!8063
|
| #
eb14dd14
|
| 20-Dec-2024 |
Alex Lindsay <alexlindsay239@gmail.com> |
Fix MatResetPreallocation_MPIAIJ
Per Barry's suggesetion I inserted a `MatDisAssemble` which immediately fixed my issue. I will work on adding a test
|
| #
970231d2
|
| 07-Mar-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jolivet/clang-format-18' into 'main'
clang-format version 18
See merge request petsc/petsc!6902
|
| #
f4f49eea
|
| 11-Feb-2024 |
Pierre Jolivet <pierre@joliv.et> |
Remove multiple parentheses and extra semicolon
git grep -l -E "\(\([a-zA-Z0-9_]+\)\(\*[a-zA-Z0-9_]+\)[, )]" | xargs sed -r -i'' 's#\(\(([a-zA-Z0-9_]+)\)\(\*([a-zA-Z0-9_]+)\)([, )])#\(\(\1\)\*\2\3#g
Remove multiple parentheses and extra semicolon
git grep -l -E "\(\([a-zA-Z0-9_]+\)\(\*[a-zA-Z0-9_]+\)[, )]" | xargs sed -r -i'' 's#\(\(([a-zA-Z0-9_]+)\)\(\*([a-zA-Z0-9_]+)\)([, )])#\(\(\1\)\*\2\3#g' git grep -l -E "Petsc(.)*\(\(\*[a-zA-Z0-9_]*\)," | xargs sed -r -i'' 's#Petsc([a-zA-Z0-9_]*)\(\(\*([a-zA-Z0-9_]*)\), #Petsc\1(*\2, #g' git grep -l -E "([\!\&\~\*\(]|\)\)|\([^,\*\(]+\**\))\(([a-zA-Z0-9_]+((\.|->)[a-zA-Z0-9_]+|\[[a-zA-Z0-9_ \%\+\*\-]+\])+)\)" | xargs sed -r -i'' 's#([\!\&\~\*\(]|\)\)|\([^,\*\(]+\**\))\(([a-zA-Z0-9_]+((\.|->)[a-zA-Z0-9_]+|\[[a-zA-Z0-9_ \%\+\*\-]+\])+)\)#\1\2#g'
show more ...
|
| #
e8e8640d
|
| 26-Sep-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jolivet/rm-first-empty-line' into 'main'
Remove first and last empty lines
See merge request petsc/petsc!6892
|
| #
92bec4ee
|
| 26-Sep-2023 |
Pierre Jolivet <pierre@joliv.et> |
Remove first and last empty lines
|
| #
9c5460f9
|
| 17-Aug-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jacobf/2023-08-09/linter-detect-static-function-candidates' into 'main'
Linter detect possible static functions
See merge request petsc/petsc!6796
|
| #
ba38deed
|
| 15-Aug-2023 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
Delete unused code
|
| #
49bfc494
|
| 16-Jun-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/release'
|
| #
fcf53b95
|
| 16-Jun-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'stefanozampini/fix-mpibaij-mpiaij-conversion' into 'release'
MATMPIBAIJ: fix non const operation in conversion to MPIAIJ
See merge request petsc/petsc!6582
|
| #
7c612885
|
| 16-Jun-2023 |
Stefano Zampini <stefano.zampini@gmail.com> |
MATMPIBAIJ: fix non const operation in conversion to MPIAIJ
Make MatDisAssemble_MPIAIJ and MatDisAssemble_MPIBAIJ support null offdiagonal block
|
| #
31d78bcd
|
| 02-Feb-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jacobf/2022-12-10/petscerrorcode-nodiscard' into 'main'
Feature: Non-discardable PetscErrorCode
See merge request petsc/petsc!5923
|
| #
3ba16761
|
| 10-Dec-2022 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
Make PetscErrorCode a non-discardable enum
|
| #
185d4773
|
| 09-Dec-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/release'
|
| #
9f218844
|
| 08-Dec-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2022-11-29/barry/2022-11-29/fix-matconvert-baij-aij/release' into 'release'
fix matconvert aij to baij to correctly check for any nonzero in a block. fix matincreaseoverlap aij t
Merge branch 'barry/2022-11-29/barry/2022-11-29/fix-matconvert-baij-aij/release' into 'release'
fix matconvert aij to baij to correctly check for any nonzero in a block. fix matincreaseoverlap aij to respect bs in IS
See merge request petsc/petsc!5897
show more ...
|
| #
247fa90b
|
| 29-Nov-2022 |
Barry Smith <bsmith@mcs.anl.gov> |
fix matconvert aij to baij to correctly check for any nonzero in a block to do proper BAIJ preallocation
|
| #
2f91b18a
|
| 23-Nov-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jacobf/2022-11-08/remove-petsctable' into 'main'
Remove PetscTable
See merge request petsc/petsc!5819
|
| #
c76ffc5f
|
| 21-Nov-2022 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
Use PetscHMapISet() in place of PetscHMapISetWithMode(INSERT_VALUES) as the intent is clearer
|