Merge remote-tracking branch 'origin/release'
Fix MPI_Comm_rank/size API mixups in helpers (#1865,#1866)
Merge branch 'zach/tao-monitor-modernization' into 'main'Modernize TAO monitoring to resemble TS and friendsSee merge request petsc/petsc!9029
TAO: update OWLQN iteration counter tao->niter (#1867)
TAO: use gradient in CG/NLS fallback descent paths (#1860,#1868)
Remove the last of the use of horizontal lines --- as seperators. With modern code development systems they are not needed and just an eye-sore
Tao - Update monitor functions to work like TS
Add automatic generated fortran support for setting and returning contextsMajor 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 contextsMajor 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 PetscCtxDestroyFnBoth of these are typedef to void*Also removed most use of user and userctx for context arguments now consistently named ctxImproved documentation on PetscCtx and PetscCtxRt and on how to use contexts (including getting them) from Fortran
show more ...
Merge branch 'barry/2025-12-24/improve-snes-domain-error-handling' into 'main'Improve the propagation of function domain error handling in SNES, especially...See merge request petsc/petsc!8914
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
Merge branch 'barry/2025-12-04/fix-use-mpi-f08' into 'main'Replace -with-mpi-f90module-visibility with -with-mpi-ftn-module=mpi_f08See merge request petsc/petsc!8885
Replace -with-mpi-f90module-visibility with -with-mpi-f90module=mpi_f08Add PETSC_INT_KIND and PETSC_MPIINT_KINDReported-by: M.Weiland@epcc.ed.ac.uk
Fix missing equal sign
Proper capitalization from Gram-Schmidt orthogonalization
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
Housekeeping
Minor fixes
Fix terminology for Pmat in KSPView output.
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
Tao: Reduce numit of tomography tests to reduce overall test time
The goal of all the commits in this MR is to unify the destruction of "application" contexts.This will help with supporting language bindings. For example, for Fortran the application contextwould
The goal of all the commits in this MR is to unify the destruction of "application" contexts.This will help with supporting language bindings. For example, for Fortran the application contextwould be a user derived typeFix prototype of DMShellSetDestroyCtx function argument to use PETSc standard way of doing it with PetscCtxDestroyF.Also fix PetscViewerGLVisSetFields prototype of destroy functionThese two locations were missed when PetscCtxDestroyFn was introduced as the universal function prototype for context destruction in 3.23Reported-by: Victor Eijkhout
cleanup suggestions by @BarrySmithalso noticed a few stray functions not marked as external and put theminto modules
use modules instead of externalthis allows for argument checking
place all the include statements at the topRepeated inclusion in multiple location, e.g. at the start of amodule or function is not needed. This becomes clear if all includes areoutside of the ac
place all the include statements at the topRepeated inclusion in multiple location, e.g. at the start of amodule or function is not needed. This becomes clear if all includes areoutside of the actual Fortran code.Added regex to check that with the help of @sbalay
12345678910>>...62