| #
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 ...
|
| #
0b46e949
|
| 22-Sep-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'stefanozampini/submat-zerorows' into 'main'
implement ZeroRowsLocal and ZeroRowsColumnsLocal for local references
See merge request petsc/petsc!8705
|
| #
c2be7ffe
|
| 14-Sep-2025 |
Stefano Zampini <stefano.zampini@gmail.com> |
Mat: add ops for zerorowscolumnslocal
|
| #
51b144c6
|
| 29-Aug-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'MarDiehl/use-bool-instead-of-enum' into 'main'
use bool instead of enum
See merge request petsc/petsc!8528
|
| #
b8b5be36
|
| 21-Jul-2025 |
Martin Diehl <mail@martin-diehl.net> |
distinguish Boolean and Integer
MPI_Comm_get_attr has PetscMPIInt as flag argument, not PetscBool. Name this flag "iflg" (was used somewhere already). Use MPI_LAND instead of MPI_BAND for logical op
distinguish Boolean and Integer
MPI_Comm_get_attr has PetscMPIInt as flag argument, not PetscBool. Name this flag "iflg" (was used somewhere already). Use MPI_LAND instead of MPI_BAND for logical operations instead of MPI_MIN, MPI_MAX, and MPI_LAND.
Note: Most of the previous code was probably working as intended, I did the changes when debugging error related to the use of standard C Bool and kept them because it took me a while to understand that MPI has integer flags and PETSc has Booleans. Using different names makes this clear, but was and is not done consistently.
show more ...
|
| #
bcda9346
|
| 27-Aug-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'MarDiehl/fix-typo' into 'main'
missing "s" for isascii and issundials
See merge request petsc/petsc!8559
|
| #
9f196a02
|
| 17-Jul-2025 |
Martin Diehl <mail@martin-diehl.net> |
missing "s" for isascii and issundials
|
| #
a59f5ed8
|
| 18-Aug-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'lindad/get-current-memtype-testing' into 'main'
MatGetCurrentMemType testing
See merge request petsc/petsc!8645
|
| #
c97e14ec
|
| 17-Aug-2025 |
Alex Lindsay <alexlindsay239@gmail.com> |
Fix compilation warning in matelem from !8505
|
| #
c1a32f8f
|
| 09-May-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jolivet/cleanup' into 'main'
Housekeeping
See merge request petsc/petsc!8392
|
| #
8bb0f5c6
|
| 07-May-2025 |
Pierre Jolivet <pierre@joliv.et> |
MatOps cleanup
|
| #
7e4f6f19
|
| 07-Mar-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'stefanozampini/matoption-no-error' into 'main'
MatSetOption: ignore unused options instead of erroring out
See merge request petsc/petsc!8179
|
| #
888c827c
|
| 26-Feb-2025 |
Stefano Zampini <stefano.zampini@gmail.com> |
MatSetOption: ignore unused options instead of erroring out
|
| #
a81650ca
|
| 29-Oct-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'lindad/new-aij-from-hash' into 'main'
Add MatCopyHashToXAIJ() to copy hash table entries into an XAIJ matrix type
See merge request petsc/petsc!7939
|
| #
fe1fc275
|
| 29-Oct-2024 |
Alexander <alexander.lindsay@inl.gov> |
Add MatCopyHashToXAIJ() to copy hash table entries into an XAIJ matrix type
|
| #
732aec7a
|
| 22-Sep-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jolivet/remove-cast' into 'main'
Use NULL or nullptr instead of casted 0
See merge request petsc/petsc!7857
|
| #
c8025a54
|
| 21-Sep-2024 |
Pierre Jolivet <pierre@joliv.et> |
Use NULL or nullptr instead of casted 0
|
| #
4a997463
|
| 20-Sep-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jczhang/2024-09-05/feature-mat-get-vpb' into 'main'
PC: add new mat ops MATOP_GET_{BLOCK, VBLOCK}_DIAGONAL
See merge request petsc/petsc!7811
|
| #
d8e47b63
|
| 17-Sep-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2024-09-02/rebased-fix-conversion-warnings' into 'main'
Compiler finds (and forbid) casts from higher precision integers to lower
See merge request petsc/petsc!7806
|
| #
462c564d
|
| 14-Sep-2024 |
Barry Smith <bsmith@mcs.anl.gov> |
Fix MPIU_* routines to always return MPI error codes and thus be usable with PetscCallMPI()
Introduce MPIU_Count to be used when MPI_Count is not available
|
| #
42ce410b
|
| 05-Sep-2024 |
Junchao Zhang <jczhang@anl.gov> |
PC: add new mat ops MATOP_GET_{BLOCK, VBLOCK}_DIAGONAL
so that a shell matrix can return its own (variable) point blocks in a matrix for use in PC (V)PBJacobi
|
| #
32e03751
|
| 29-Jul-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jose/deprecate-petsc-default' into 'main'
Fix usage of deprecated PETSC_DEFAULT
See merge request petsc/petsc!7707
|
| #
fb842aef
|
| 29-Jul-2024 |
Jose E. Roman <jroman@dsic.upv.es> |
Fix usage of deprecated PETSC_DEFAULT
|
| #
456f4312
|
| 14-Jun-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jolivet/fix-missing-field-initializers' into 'main'
Mat: fix -Wmissing-field-initializers
See merge request petsc/petsc!7628
|