| #
e8c0849a
|
| 20-Nov-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2025-10-18/optimize-aij-ops' into 'main'
Refactor handling of diagonal marking in *AIJ and SELL matrices
See merge request petsc/petsc!8797
|
| #
421480d9
|
| 19-Oct-2025 |
Barry Smith <bsmith@mcs.anl.gov> |
- Replace MatMissingDiagonal() and MatMarkDiagonals_SeqXXX() with MatGetDiagonalMarkers_SeqXXX()
- Mat_SeqXXX->diag is not automatically created during MatAssemblyEnd() saving memory and time
- Replace MatMissingDiagonal() and MatMarkDiagonals_SeqXXX() with MatGetDiagonalMarkers_SeqXXX()
- Mat_SeqXXX->diag is not automatically created during MatAssemblyEnd() saving memory and time
- Accessing Mat_SeqXXX->diag now requires the use of MatGetDiagonalMarkers_SeqXXX() except when the current values are known to be correct; for example during numerical factorizations and solves
- Mat_SeqXXX->diag is now never shared among matrices; hence the free_diag flag is gone. That was always a risky proposition since any of the owning matrices could chang the values thus making them incorrect for other owners.
show more ...
|
| #
07425a8d
|
| 18-Oct-2025 |
Barry Smith <bsmith@mcs.anl.gov> |
This MR optimize some MAT[SB]AIJ operations related to the diagonal
The longer term goal is to refactor some Mat_SeqXXX non-numeric code to make it easier to also implement it on GPUs. For example,
This MR optimize some MAT[SB]AIJ operations related to the diagonal
The longer term goal is to refactor some Mat_SeqXXX non-numeric code to make it easier to also implement it on GPUs. For example, MatGetDiagonal() and friends
This commit - MatMarkDiagonal_SeqAIJ/ELL() - now use change in mat->nonzerostate to determine if it needs to recheck the diagonal locations - sets diagDense flag for a complete diagonal - MatInvertDiagonal_SeqAIJ/ELL() - now uses change in mat->state to determine if diagonal entries and inverses need to be recomputed - name changed to MatInvertDiagonalForSOR_SeqAIJ/ELL() for code clarity - Added MatInvertDiagonal_SeqAIJ_Inode() for use by MatSOR_SeqAIJ_Inode() - now uses change in mat->state to determine if block diagonal entries and inverses need to be recomputed
show more ...
|
| #
7787bf74
|
| 16-Sep-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jolivet/fix-pchpddm-scatter' into 'main'
Minor fixes and cleanup
See merge request petsc/petsc!8702
|
| #
0b36fe0a
|
| 09-Sep-2025 |
Pierre Jolivet <pierre@joliv.et> |
Remove more unneeded braces
|
| #
5d3bc7be
|
| 21-Mar-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jolivet/clang-format-20' into 'main'
clang-format-20
See merge request petsc/petsc!7849
|
| #
87fca844
|
| 27-Jul-2024 |
Pierre Jolivet <pierre@joliv.et> |
Update to clang-format-20
|
| #
76d69608
|
| 19-Jan-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/release'
|
| #
1d017dde
|
| 19-Jan-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2024-11-26/improve-man-pages/release' into 'release'
Improve some manual pages in KSP/SNES
See merge request petsc/petsc!8071
|
| #
0b4b7b1c
|
| 26-Nov-2024 |
Barry Smith <bsmith@mcs.anl.gov> |
Improve some manual pages in KSP/SNES
|
| #
be37439e
|
| 21-Oct-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'stefanozampini/useless-cast' into 'main'
Remove useless cast
See merge request petsc/petsc!7894
|
| #
835f2295
|
| 05-Oct-2024 |
Stefano Zampini <stefano.zampini@gmail.com> |
Brain dead fixes for useless casts
|
| #
b7c0efca
|
| 01-Oct-2024 |
Stefano Zampini <stefano.zampini@gmail.com> |
PetscCeilInt: inline method
|
| #
003fa74b
|
| 02-Jun-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/release'
|
| #
9bb5003f
|
| 02-Jun-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2024-05-27/fix-bug-baij-setvaluesblocked/release' into 'release'
Fix serious bug in MatSetValuesBlocked for SeqBAIJ when a reallocation is needed.
See merge request petsc/petsc!
Merge branch 'barry/2024-05-27/fix-bug-baij-setvaluesblocked/release' into 'release'
Fix serious bug in MatSetValuesBlocked for SeqBAIJ when a reallocation is needed.
See merge request petsc/petsc!7578
show more ...
|
| #
b758ae8c
|
| 27-May-2024 |
Barry Smith <bsmith@mcs.anl.gov> |
Fix serious bugs in MatSetValuesBlocked for SeqBAIJ and MPIBAIJ when a reallocation is needed.
Reported-by: Adrian Croucher <a.croucher@auckland.ac.nz>
|
| #
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
|
| #
00045ab3
|
| 11-Feb-2024 |
Pierre Jolivet <pierre@joliv.et> |
Remove carriage return in Petsc(Assert|Check)()
git grep -l -E "Petsc(Assert|Check)\(.*\\\n\"[,)]" | xargs sed -r -i'' 's#Petsc(Assert|Check)\((.*)\\n"([,)])#Petsc\1\(\2\"\3#g'
Suggested-by: Stefan
Remove carriage return in Petsc(Assert|Check)()
git grep -l -E "Petsc(Assert|Check)\(.*\\\n\"[,)]" | xargs sed -r -i'' 's#Petsc(Assert|Check)\((.*)\\n"([,)])#Petsc\1\(\2\"\3#g'
Suggested-by: Stefano Zampini
show more ...
|
| #
942d34d0
|
| 03-Jan-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jolivet/fix-ubsan' into 'main'
Pacify UBSan
See merge request petsc/petsc!7158
|
| #
8e3a54c0
|
| 24-Dec-2023 |
Pierre Jolivet <pierre@joliv.et> |
Sys: add PetscSafePointerPlusOffset() to pacify UBSan
|
| #
ad4c700a
|
| 04-Oct-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/release'
|
| #
4c755a4e
|
| 04-Oct-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jolivet/fix-typos' into 'release'
Fix typos
See merge request petsc/petsc!6908
|
| #
baca6076
|
| 04-Oct-2023 |
Pierre Jolivet <pierre@joliv.et> |
Fix typos
|
| #
9dd11ecf
|
| 25-Aug-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jacobf/2023-08-17/header-guard-check' into 'main'
Check header guards
See merge request petsc/petsc!6822
|
| #
a4963045
|
| 18-Aug-2023 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
Convert all header guards to pragma once
|