| #
4e8208cb
|
| 31-Jan-2026 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2026-01-13/ftn-generation-for-context-functions' into 'main'
Fortran generation of interface definitions for functions that take and return context variables (void *ctx and PetC
Merge branch 'barry/2026-01-13/ftn-generation-for-context-functions' into 'main'
Fortran generation of interface definitions for functions that take and return context variables (void *ctx and PetCtx ctx)
See merge request petsc/petsc!8956
show more ...
|
| #
2a8381b2
|
| 13-Jan-2026 |
Barry Smith <bsmith@mcs.anl.gov> |
Add automatic generated fortran support for setting and returning contexts
Major cleanup of the code for setting and returning application (previously called user) contexts - PetscCtx ctx is now t
Add automatic generated fortran support for setting and returning contexts
Major cleanup of the code for setting and returning application (previously called user) contexts - PetscCtx ctx is now the standard for passing in contexts - PetscCtxRt ctx is the standard for passing out contexts, including context destroy routines based on PetscCtxDestroyFn
Both of these are typedef to void*
Also removed most use of user and userctx for context arguments now consistently named ctx
Improved documentation on PetscCtx and PetscCtxRt and on how to use contexts (including getting them) from Fortran
show more ...
|
| #
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 ...
|
| #
b31b2f82
|
| 10-Nov-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2025-10-24/fix-dmshellsetdestroyctx' into 'main'
Finish converting the function prototypes of destroy for contexts to use PetscCtxDestroyFn
See merge request petsc/petsc!8810
|
| #
cc1eb50d
|
| 27-Oct-2025 |
Barry Smith <bsmith@mcs.anl.gov> |
Change names of Mat_XXX product contexts to MatProductCtx_XXX for code maintainability
Update destroy callback of all MatProductCtx and MatShellSetMatProductOperation() to use PetscCtxDestroyFn
|
| #
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
|
| #
5f5eafce
|
| 23-Apr-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/release'
|
| #
a02648fd
|
| 23-Apr-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jolivet/cleanup-symbols' into 'main'
Do not expose unneeded symbols
See merge request petsc/petsc!8335
|
| #
620727d1
|
| 22-Apr-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jczhang/2025-04-18/fix-matmult-aij-openmp-inode' into 'release'
OpenMP: add OpenMP to MatMult_SeqAIJ with inode
See merge request petsc/petsc!8331
|
| #
4d12350b
|
| 21-Apr-2025 |
Junchao Zhang <jczhang@anl.gov> |
Mat: rename inode.size and change it to csr format to facilitate parallel computing
|
| #
d6acfc2d
|
| 21-Apr-2025 |
Pierre Jolivet <pierre@joliv.et> |
Do not expose unneeded symbols
|
| #
d0b3cce3
|
| 28-Mar-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/release'
|
| #
66fd34ab
|
| 27-Mar-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'lindad/further-mat-reset-pre-improvements' into 'release'
Further MatResetPreallocation improvements
See merge request petsc/petsc!8236
|
| #
4c51d546
|
| 27-Mar-2025 |
Alexander <alexander.lindsay@inl.gov> |
Further MatResetPreallocation improvements
|
| #
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
|
| #
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
|