Improve the propagation of function domain error handling in SNES, especially in the line search routines.Due to the object layering of SNESLineSearch under SNES there is some code duplication incl
Improve the propagation of function domain error handling in SNES, especially in the line search routines.Due to the object layering of SNESLineSearch under SNES there is some code duplication include both SNESLineSearchReason and SNESConvergedReason and SNESCheckFunctionNorm() and SNESLineSearchCheckFunctionNorm() and Jacobian friendsReported-by: david.knezevic@akselos.com
show more ...
Merge branch 'release'
Increase patchlevel to 3.24.3
Merge branch 'barry/2025-11-30/fix-bad-ts' into 'main'Fix bad decisions made in writing TS.See merge request petsc/petsc!8877
Fix bad decisions made in writing TS. Fix -ts_dt to -ts_time_step and add initial time step to TSView outputcommit a5a92c11fa9681148df375b257eda4e09909b74eAuthor: Barry Smith <bsmith@petsc.de
Fix bad decisions made in writing TS. Fix -ts_dt to -ts_time_step and add initial time step to TSView outputcommit a5a92c11fa9681148df375b257eda4e09909b74eAuthor: Barry Smith <bsmith@petsc.dev>Date: Mon Dec 1 14:51:27 2025 -0500 add max_snes_failures to TSViewcommit 32d3e79f6fa743930b1bbf32d03b9181b5b5418aAuthor: Barry Smith <bsmith@petsc.dev>Fix wrongly named options and add to TSViewWrong name for options database key -ts_max_reject should be -ts_max_step_rejections!Add max_reject value to TSViewAdd max_snes_failures to TSViewAdd initial timestep to TSView
Merge branch 'stefanozampini/oxford' into 'main'Plex enhancement for firedrakeSee merge request petsc/petsc!8876
DMPlexFilter: support local meshes
Merge remote-tracking branch 'origin/release'
petsc4py: improve Mat.getDenseArray()- Fix readonly argument- Hold a reference to the memory buffer providerCo-authored-by: Lisandro Dalcin
Rework MAT_SYMMETRIC and MAT_HERMITIAN options
Typos
Increase patchlevel to 3.24.2
Merge branch 'custom-tao-solver' into 'release'Custom Python TAO optimisation algorithm example/testSee merge request petsc/petsc!8618
Plex: Add Python bindings for natural ordering functions- Wrap PetscFECreateByCell()- Wrap DMGetUseNatural() and DMSetUseNatural()
petsc4py: Add documentation of Python TAO interface
petsc4py: Add test case for custon Python TAO optimisation algorithm
Merge branch 'barry/2025-10-18/optimize-aij-ops' into 'main'Refactor handling of diagonal marking in *AIJ and SELL matricesSee merge request petsc/petsc!8797
- 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.
Fix terminology for Pmat in KSPView output.
petsc4py docs: fix label in top left corner of the web
petsc4py docs: clarify result of Mat.createVecs()
Merge branch 'barry/2025-10-24/fix-dmshellsetdestroyctx' into 'main'Finish converting the function prototypes of destroy for contexts to use PetscCtxDestroyFnSee merge request petsc/petsc!8810
12345678910>>...36